What is difference between the following in java :
Object
Reference ID
Reference Variable
When I see sta
It's a simple question...
emp e=new emp();
Here, e is reference id to the object. emp is the reference variable to the class and your object id different its the combination of state and behaviour..
e
emp