Which one is a valid declaration of a boolean?

Home | Discussion Forum
Taiyari24Hour

Which one is a valid declaration of a boolean?



View More Related Question

2) Java is a _______ language.

3) Which one is a valid declaration of a boolean?

4) Which of these values can a boolean variable contain?

5) What is the output for the below code ?

public class Test
{
public static void main(String[] args)
{
int i = 010;
int j = 07;
System.out.println(i);
System.out.println(j);
}
}

UP Gk Online Test

taiyari24hour.com

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