Advanc Java
Advanc Java
true
-1
two
onetwo
twoone
None.
24. .
To which of the following does the class string belong to.
java.lang
java.awt
java.applet
java.string
None
13
20
27. Find the output of the following code.
100
None
if(1 + 1 + 1 + 1 + 1 == 5){
System.out.print(“TRUE”);
}
else{
System.out.print(“FALSE”);
}
TRUE
FALSE
Compile error
None
22
10
None
30.. Identify the return type of a method that does not return any
value.
int
void
double
None