Answers were Sorted based on User's Feedback
Answer / deepak kumar sungh
Any Set. set always contains unique elements. However, you
must take care in case of objects where you need to define
the hashCode and equals method
|Is This Answer Correct ?||2 Yes||0 No|
Answer / ravikiran(aptech mumbai)
by making using of HashSet
|Is This Answer Correct ?||1 Yes||0 No|
Can we have any code between try and finally blocks?
Name two subclasses of the TextComponent class?
Hi friends i want display Triangle shap stars(*) please can tell me any one java code logic? * *** ***** ******* Like this
Explain Event handling in AWT?
Explain about serializable interface in java?
What is Difference between Serializable and Externalizable in Java serialization?
Can a class be final?
We have two methods to create methods the threads. 1. Implementing runnable interface 2. Extending to thread class and overriding run method. Among these two which one is better and why? Please explain me in detail.
What environment variables are required to be set on a machine in order to run Java programs?
Can we extend the String class?
What is math floor in java?
how we can make a read-only class in java?