Database - Object-Oriented Database - Discussion

Discussion Forum : Object-Oriented Database - General Questions (Q.No. 11)
11.
Which of the following is true concerning the following statement: class Manager extends Employee
Manager is a concrete class and a superclass.
Manager is a concrete class and a subclass.
Manager is an abstract class and a superclass.
Manager is an abstract class and a subclass.
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
4 comments Page 1 of 1.

Aminu Salihu Zakari said:   3 years ago
Manager is a subclass and employee is a superclass. So, manager inherits the code of the superclass. Therefore, the manager is an instance of the employee. So, The answer is B.

Helia said:   9 years ago
Abstract method is a method that is declared but contains no implementation. The concrete class contains all implementations of the abstract class like a manager.

@Flora you are right, thank you for providing the basic idea.

Flora said:   9 years ago
A concrete class is it is explained completely as in manager whereas abstract is the one not defined.

Dipali said:   9 years ago
Please explain it.

Post your comments here:

Your comments will be displayed after verification.