2 votes 2 votes Which of the following is used to make an Abstract class? Making at least one member function as pure virtual function Making at least one member function as virtual function Declaring as Abstract class using virtual keyword Declaring as Abstract class using static keyword Object Oriented Programming ugcnetcse-dec2015-paper3 object-oriented-programming abstract-class + – go_editor asked Aug 9, 2016 recategorized Nov 13, 2017 go_editor 2.9k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 2 votes 2 votes Ans is A Making at least one member function as pure virtual function Sanjay Sharma answered Aug 9, 2016 selected Sep 9, 2016 by Sanjay Sharma Sanjay Sharma comment Share Follow See all 0 reply Please log in or register to add a comment.
2 votes 2 votes Answer must be B Abstract class is the one which doesn't have any object. Pure virtual function is the one which doesn't have any definition. It should be overridden in derived class. A pure virtual function is declared by using a pure specifier (= 0) eg; void foo()=0; So by making at least one pure virtual function a class becomes abstract!! sh!va answered Aug 9, 2016 sh!va comment Share Follow See 1 comment See all 1 1 comment reply the_psycho_scientist commented Aug 9, 2020 reply Follow Share So, it must be A, isn't it? 0 votes 0 votes Please log in or register to add a comment.