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. Which of the following is not an event listener adapter defined in the java.awt.event package?

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

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

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

5. A class can be transient

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

7. TreeSet maintains which order?

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

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

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

Close