-
Imagine there is a class Employee. We create an object of EmployeeEmployee a= New Employee();If we are givingSystem.out.println(a);What gets printed?
It gives the memory location of Employee object.
It gives the memory location of Employee object.
Please Turn OFF your ad blocker
- OR -
LOGIN to continue using GeekInterview website.