public class A{
public static void method(){
Object object=new Object();
}
}
public class B{
public void method(){
Object object=new Object();
}
}
1.Class B is singleton class
2.Now I want to access method which is in Class A and Class B.
3.which is better strategy in case of memory usage?
Views:
9886
Total Answered:
0
Total Marked As Answer:
0
Posted On:
05-Nov-2015 23:21