Question
a.
Mandatory for all the classes in program
b.
Necessary for all the base classes
c.
Necessary for all the derived classes
d.
Not mandatory for all the derived classes
Posted under Object Oriented Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. It is _________________________ to define the abstract functions.
Similar Questions
Discover Related MCQs
Q. The abstract function definitions in derived classes is enforced at _________
View solution
Q. What is this feature of enforcing definitions of abstract function at compile time called?
View solution
Q. What is the syntax for using abstract method?
View solution
Q. If a function declared as abstract in base class doesn’t have to be defined in derived class then ______
View solution
Q. Static methods can’t be made abstract in java.
View solution
Q. Which among the following is true?
View solution
Q. Which among the following is correct for abstract methods?
View solution
Q. If a class have all the abstract methods the class will be known as ___________
View solution
Q. The abstract methods can never be ___________ in a base class.
View solution
Q. The abstract method definition can be made ___________ in derived class.
View solution
Q. How many types of member functions are possible in general?
View solution
Q. Simple member functions are ______________________
View solution
Q. What are static member functions?
View solution
Q. How can static member function can be accessed directly in main() function?
View solution
Q. Correct syntax to access the static member functions from the main() function is:
View solution
Q. What are const member functions?
View solution
Q. Which among the following best describes the inline member functions?
View solution
Q. What are friend member functions (C++)?
View solution
Q. What is the syntax of a const member function?
View solution
Q. Which keyword is used to make a nonmember function as friend function of a class?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Object Oriented Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!