Java MCQ - English
Which of these statements are incorrect?
Answer : D
View More Related Question
1) Which of the following is the correct expression that evaluates to true if the number x is between 1 and 100 or the number is negative?
View Answer
2) In Java, the ……………………… is used to access the instance variables and methods of class objects.
3) What will be the result of the expression of 8|8.
4) public class Test
{
public static void main(String args[])
{
System.out.print(""=="");
System.out.print(" ");
System.out.print("A"=="A");
System.out.print(" ");
System.out.print("a==A");
}
}
5) What is the output of the following program ?class Numbers{
public static void main(String args[])
{
int a=20, b=10;
if((a < b) && (b++ < 25))
{ System.out.println("This is any language logic");
}
System.out.println(b);
}
}