高级JAVA工程师笔试题

进修社 人气:2.05W

选择题

高级JAVA工程师笔试题

1:Which is the main() method return of a application?

ng

2:

What will happen when you attempt to compile and run the following code?

int Output = 10;

boolean b1 = false;

if((b1 == true) && ((Output += 10) == 20))

{

tln("We are equal " + Output);

}

else

{

tln("Not equal! " + Output);

}

Choices:

What will happen when you attempt to compile and run the following code?

int Output = 10;

boolean b1 = false;

if((b1 == true) && ((Output += 10) == 20))

{

tln("We are equal " + Output);

}

else

{

tln("Not equal! " + Output);

}

Choices:

ilation error, attempting to perform binary comparison on logical data type

ilation and output of "We are equal 10".

ilation and output of "Not equal! 20".

ilation and output of "Not equal! 10".