Java – SE6 Test

This test is available in both the Average Skill level and the Advanced Skill level. The Average Skill level test will have at least 25 questions and will take approximately 30 minutes to complete. The Advanced Skill level test will have at least 40 questions and will take approximately 45 to 60 minutes to complete. These tests may also be combined with other tests to present a Combined Test of any length.

These are Multiple Choice type tests with at least four possible answers, only one of which is correct. We constantly change, revise and upgrade our test and really value your opinion. Please send us any suggestions or additions so that we may consider them.

Among the areas covered by this test are the following:

• Encapsulation
• Inheritance
• Polymorphism
• Compilation
• Static variable
• Exception
• and much more

We have included a sample question below to give you the style and essence of the test To take a demo of our tests please click the Try a Test Demo button above.


3. public class TestDays {

4.   public enum Days { MON, TUE, WED };

5.   public static void main(String[] args) {

6.     for(Days d : Days.values() )

7.       ;

8.     Days [] d2 = Days.values();

9.     System.out.println(d2[2]);

10.   }

11. }

What is the result?



C) The output is unpredictable

D) Compilation fails due to an error on line 4