-
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.
-
-
-
-
-
-
-
-
-
Difference between Throw & Throws
1)What is the difference between Throw & Throws?2)Explain the use of transient variable with example?
-
-
-
-
-
-
-
-
-
-
Java Interview Questions
Ans