Answer Posted / vaibhav
1 Make the all variables of class final and private
2. Make only private constructor
| Is This Answer Correct ? | 5 Yes | 7 No |
Post New Answer View All Answers
Compare overloading and overriding?
Where is the find and replace?
Can a class have more than one object?
Differentiate between stringbuffer and stringbuilder in java.
Why does java not support pointers?
Explain different ways of creating a thread?
What is a null class?
What is the difference between serializable and externalizable interface?
What is data structure in java?
What do you mean by byte code?
What are scalar data types?
How do you sort in java?
What is return code?
What is static import?
How many wrapper classes are there in java?