當前位置:學識都>好好學習>考研>

高級JAVA工程師筆試題

學識都 人氣:2.12W

選擇題

高級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".