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.
1448 visits
Outline:Javaவில் Polymorphism Run-time polymorphism Virtual Method Invocation Compile-time polymorphism JVMஇன் பங்கு IS-A test என்றால் என்ன? Static binding என்றால் என்ன? Dynamic binding என்றால் என்ன?
Javaவில் Polymorphism Run-time polymorphism Virtual Method Invocation Compile-time polymorphism JVMஇன் பங்கு IS-A test என்றால் என்ன? Static binding என்றால் என்ன? Dynamic binding என்றால் என்ன?
Show video info
Pre-requisite