2 votes 2 votes When the inheritance is private, the private methods in base class are _____ in the derived class (in C++) inaccessible accessible protected public Object Oriented Programming ugcnetcse-june2015-paper2 oops inheritance + – go_editor asked Jul 30, 2016 • retagged Jul 12, 2019 by Cristine go_editor 7.4k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
2 votes 2 votes ans is A inaccessible in the derived class only public or protected members are inherited Sanjay Sharma answered Jul 30, 2016 Sanjay Sharma comment Share Follow See all 2 Comments See all 2 2 Comments reply Kuljeet Shan commented Dec 1, 2018 reply Follow Share Sir, in inheritance when access modifier is private all the member function of the base class (private, protected & public) become private in the derived class. Isn't answer became Accessible ? 0 votes 0 votes Sanjay Sharma commented Dec 3, 2018 reply Follow Share no private members can not be inherited 1 votes 1 votes Please log in or register to add a comment.