Answer Posted / ajooba
since 1.5 version best way is to use an enum
public enum My
{
instance;
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is qms certification?
What is the difference between menuitem and checkboxmenu item?
List the three steps for creating an object for a class?
What is the purpose of main function in java?
What are access specifiers in java ?
os is developed in c no java is more secured then c na why dont the os developed is developed using java
Write a program to check string is palindrome without using loop?
What are the differences between Java 1.0 and Java 2.0?
What is cr keyboard?
How do you sort a list in java?
If goto and const is reserve words than why it is not work in java?
What is the default execution method in java?
Difference between class#getinstance() and new operator ?
How do you implement tree mirroring in java?
What is the base class of all exception classes in java?