About output
Title
Question
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
At 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.
Java Polymorphism 02-03 min 20-30 sec
Answers:
The Code files used in the tutorials are available below the player in the browser.
1. Click on the link "Code files" located below the video player and save it in your folder.
2. Extract the downloaded zip file.
2. Extract the downloaded zip file.
3. You will see all the source files for the particular tutorial.
Please use these files for practice.
The error in your case may arise due to the occurance when a specific language construct was expected, but something else was provided.
better check once again the environment set up
Login to add comment