can you paste your modified code and the error message you get this time.
Type: Posts; User: aprabhat
can you paste your modified code and the error message you get this time.
There is no compilation error in your code but now your EmployeeDemo class in a inner class of Employee class and the compiler didn't able to find the main method.
close the body of Employee class...
employee1.setName("Susan Meyers");
employee1.setDepart("Accounting");
employee1.setEmpID(47899);
employee1.setPosition("Vice President");
You don't have setter methods likes setName("Emp...