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 token
The method get details() is undefined for the type String
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.
Java Polymorphism 02-03 min 20-30 sec