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
What is basic syntax?
In which order the iterator iterates over collection?
What are the differences between this and super keyword?
Is array dynamic in java?
What do you understand by the term wrapper classes?
Can we override tostring method in java?
What is variable explain?
Can the garbage collection be forced by any means?
What is the use of :: in java?
What does arrays sort do in java?
What is preparedstatement in java?
What is palindrome in java?
What is the base class of all exception classes?
why an outer class cannot be declared as private?
What are green threads in java?