Java Online Quiz

Java Online Quiz for Experts

Java Online Quiz

Welcome to your Java Online Quiz for Experts

Name
Email

1.) Which two are valid constructors for Thread?

2.) Which of the following will directly stop the execution of a Thread?

3.) You need to store elements in a collection that guarantees that no duplicates are stored and all elements can be accessed in the natural order. Which interface provides that capability?

4.) Which interface does java.util.Hashtable implement?

5.) What allows the programmer to destroy an object x?

6.) Which of the below is a valid way to instantiate an array in java?

7.) Can we have two main methods in a java class?

Leave a comment

Your email address will not be published. Required fields are marked *