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