MCQ Test
Previous Year Papers
Practice Questions
Video Courses
About
MCQ Test
Previous Year Papers
Practice Questions
Video Courses
About
Home
Practice
CORE JAVA PROGRAMMING
INHERITANCE
Problem #438
Problem #438
CORE JAVA PROGRAMMING
Write a Java program to create a class called Employee with methods called work() and getSalary(). Create a subclass called HRManager that overrides the work() method and adds a new method called addEmployee().
Your Solution
Submit Solution
Reset