Answer Posted / ravikiran(aptech mumbai)
Set interface is the one which will provide convinience
methods to add the objects which contains no duplicates.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is static keyword in java?
4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (
Explain OOPs concept.
What are the advantages of java?
What is the definition of tree ?
What about static nested classes in java?
Can we declare register variable as global?
What state is a thread in when it is executing?
What is integers and example?
What do negative exponents mean?
Can we declare main () method as non static?
What is the intersection and union methods?
What is the difference between synchronized and synchronized block?
Is void a keyword in java?
What is the difference between char and char *?