Which of these values can a boolean variable contain?

Home | Discussion Forum
Taiyari24Hour

Which of these values can a boolean variable contain?



View More Related Question

2) What will be the output for the below code ?

public class Test
{
public static void main(String[] args)
{
byte i = 128;
System.out.println(i);
}
}

3) What is the output for the below code ?

 public class Test
{
public static void main(String[] args)
{
byte b = 6;
b+=8;
System.out.println(b);
b = b+7;
System.out.println(b);
}
}

4) Which of these occupy first 0 to 127 in Unicode character set used for characters in Java?

5) Java is a _______ language.

UP Gk Online Test

taiyari24hour.com

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