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
How do you decide when to use arraylist and linkedlist?
How do you reverse a list?
How do you print array in java?
What is the purpose of assert keyword used in jdk1.4.x?
Java.util.regex consists of which classes?
What is ordered map in java?
What is the difference between preemptive scheduling and time slicing?
What is difference between hashset and hashmap?
What does a method signature consist of?
How finally used under exception handling?
What is 16 bits called?
Give me an example of array and linked list? Where they can be used?
Can you have two constructors in java?
what is mena by object block any what is the use of that
Write a java program to count the number of words present in a string?