Dear Sir, Can you please explain me why is the setDepartment() not valid for statment " Employee emp2= new Manager();". Why is it not taking the vaue that is given in the TestManager class.Sir can you please tell me about the exam after this course?Hoping at the earliest!Thanks!
Inside of the TestEmployee class, after making changes in line of println() method. It shows red line below manager getDetails . My output shows error.Syntax error on token "manager",delete this tokenThe method get details() is undefined for the type StringAt TestEmployee.main(TestEmployee.java:10)As shown in other tutorial videos, I think something is missing in that line or may be not visible in that video at that time.
231 visits
Outline:Java در Polymorphism در زمان اجرا Polymorphism فراخوانی متد مجازی در زمان گردآوری Polymorphism JVM نقش چیست؟ IS-A تست چیست؟ Static Bending چیست؟ Dynamic Bending
Java در Polymorphism در زمان اجرا Polymorphism فراخوانی متد مجازی در زمان گردآوری Polymorphism JVM نقش چیست؟ IS-A تست چیست؟ Static Bending چیست؟ Dynamic Bending
Show video info
Pre-requisite