OOPS
August 29, 2024OOPS
August 29, 2024OOPS
Question 161 |
Which of the following is used to make an Abstract class?
Making at least one member function as pure virtual functions | |
Making at least one member function as virtual function | |
Declaring as Abstract class using virtual keyword | |
Declaring as Abstract class using static keyword |
Question 161 Explanation:
Abstract class may consist of at least one abstract method.
Abstract method means method without body, we can also be called as pure virtual functions.
Abstract method means method without body, we can also be called as pure virtual functions.
Correct Answer: A
Question 161 Explanation:
Abstract class may consist of at least one abstract method.
Abstract method means method without body, we can also be called as pure virtual functions.
Abstract method means method without body, we can also be called as pure virtual functions.