رد: الفزعه ,,اللي عنده نسخة من المدتيرم ينزلها
سلام ..
معاكم بنفس الورطة ..
اقتباس:
لو سمحتو ممكن احد يشرحلي الفقرة دي
What is printed upon the execution of the following statements? (2 marks)
Employee e1, e2;
PartTimeEmployee p1;
e1 = new Employee();
e2 = new Employee();
p1 = new PartTimeEmployee(“Employee1”, 100, 40);
System.out.println(“Number of employees till now is: ” + Employee.getCount());
Number of employees till now is: 3
كيف طلع الناتج 3
|
^^
p1 = new PartTimeEmployee
Employee e1, e2
عددهم ثلاثة ..
التعديل الأخير تم بواسطة لاليتا ; 09-05-2013 الساعة 02:09 AM
|