I have Set which contain different type of classes like Class A
,Class B
,Class C
now one class Let us suppose class A have this structure
class A{
String id;
String name;
String password;
get()/Set() methods
}
Now Let us suppose Class A each variable contain Null . How to check If class variables contain null so i will not process this class its all DB operation.
Any idea how to separate those classes which all variables are null ?