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