1

Consider the code below, class class1{ public: void func1(); }; class class2 : protected class1 { }; Function func1 of class1 is ______ in class2

Correct Answer: public

Make the most of this question

This page focuses on one Software Design Modeling (SDM) question from Engineering. After checking the answer, return to the topic list to practice more or run a timed set.

Software Design Modeling (SDM) MCQ: Consider the code below, class class1{ public: void func1(); }; class class2 : protected class1 { }; Function func1 of class1 is ______ in class2 | Extra Education