Categories
Java

Java Associate Exam: Quiz

14
Created on

Java Associate Exam Quiz

1 / 5

Which usage represents a valid way of compiling java source file with the name "Main"?

2 / 5

What is the value of that Number after the execution of the following code snippet?
long thatNumber = 5 >= 5 ? 1+2 : 1*1;
if(++thatNumber < 4)
thatNumber += 1;

3 / 5

Which three are advantages of the Java exception mechanism?

4 / 5

Of the following four modifiers, choose the one that is not implicitly applied to all interface variables.

5 / 5

Your score is

The average score is 39%

0%