1.
Can we have two main methods in a java class?
2.
Which of the below is a valid way to instantiate an array in java?
3.
Which of the following will directly stop the execution of a Thread?
4.
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?
5.
Which interface does java.util.Hashtable implement?
6.
Which two are valid constructors for Thread?
7.
What allows the programmer to destroy an object x?