Java QUIZ

Instructions:

  • Total Number of Questions: 10
  • Score out of: 10
  • Time alloted: 30 seconds per question, total 30 minutes
  • Each question carry 1 mark
  • No negtive marking

NOTE:

Select one option as answer, for per question and then Click 'Submit and Next' button for next question

Click the 'Result' button after 10th question to get you score.

Do not refresh the Page.

1. A class can be transient

2. An abstract class can have non-abstract methods.

3. Following code will result in: int a1 = 5; double a2 = (float)a1;

4. Which of the following is not an event listener adapter defined in the java.awt.event package?

5. TreeSet maintains which order?

6. With regard to the servlet context listener, which of the following methods is valid?

7. Which of the following is a valid long literal?

8. In Iterator, hasMoreElements() method of Enumeration has been changed to:

9. Implement the Listener interface and overrides its methods is required to perform in event handling.

10. Which of the following object of HttpSession can be used to view and manipulate information about a session?

Close