Friday, 8 February 2013

14

How many objects and reference variables are created by the following lines of code?

Employee emp1, emp2;
emp1 = new Employee() ;
Employee emp3 = new Employee() ;
Join me on Facebook