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.
190 visits
Outline:जावा मध्ये Polymorphism रन् टैम् polymorphism वर्चुअल् मेथड् इन्वोकेशन् कम्पैल् टैम् polymorphism JVM इत्यस्य आवश्यकता IS-A टेस्ट् नाम किम्? Static binding नाम किम्? Dynamic binding नाम किम्?
जावा मध्ये Polymorphism रन् टैम् polymorphism वर्चुअल् मेथड् इन्वोकेशन् कम्पैल् टैम् polymorphism JVM इत्यस्य आवश्यकता IS-A टेस्ट् नाम किम्? Static binding नाम किम्? Dynamic binding नाम किम्?
Show video info
Pre-requisite