posted 11 years ago
Requirement:
class A
{
void m1()
{
System.out.println("Hello JAVA");
}
}
For the above class A, we need to create 5 Obects only,
If we try create 6th object it will returns the same reference of previous..
(Means we need to create only 5 Objects)