Here is a small program

```
public class example {  
    private byte b1;
    public byte getB1() {
        return b1;
    }
    public void setB1(byte b1) {
        this.b1 = b1;
    }
public static void main(String[] args) {    
    final byte a = 01;  
    example e =  new example();
    e.setB1(a);
    System.out.println(e.getB1());
    }
}

```

This program return value as 1 not 01, however, I am expecting it to be 01 (which has been set)
How to get 01 output from byte, if 01 has been set.