91. |
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); } }
|
||||||||
Answer:
Option (c) |
92. |
Select from among the following character escape code which is not available in Java.
|
||||||||
Answer:
Option (c) |
93. |
What will be the output?
if(1 + 1 + 1 + 1 + 1 == 5){ System.out.print("TRUE"); } else{ System.out.print("FLASE"); }
|
||||||||
Answer:
Option (a) |
94. |
What will be output?
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"); } }
|
||||||||
Answer:
Option (c) |
95. |
Determine output:
public class Test{ static int i = 5; public static void main(String... args){ System.out.println(i++); System.out.println(i); System.out.println(++i); System.out.println(++i+i++); } }
|
||||||||
Answer:
Option (c) |