What is the range of byte data type in Java?

Home | Discussion Forum
Taiyari24Hour

What is the range of byte data type in Java?



View More Related Question

2) What is the output of this program?

      class mainclass {
public static void main(String args[])
{
char a = 'A';
a++;
System.out.print((int)a);
}
}

3) Which of the following are legal lines of Java code?

  1. int w = (int)888.8;
  2. byte x = (byte)100L;
  3. long y = (byte)100;
  4. byte z = (byte)100L;

4) What is the limitation of toString() method of BigDecimal?

5) What is the order of variables in Enum?

UP Gk Online Test

taiyari24hour.com

Study 2 Online Says....
Kindly log in or signup.