Question
Match the following keywords with the appropriate definition Group of answer choices Private [ Choose ] Functions and data members declared in a class are
Match the following keywords with the appropriate definition
Group of answer choices
Private
[ Choose ] Functions and data members declared in a class are accessible only to other members of class and to functions declared as Friends Functions and data members declared in a class that are accessible to any function Functions and data members declared in a class that are accessible to any class derived from the class and to Friend functions. Functions and data members declared in a class that only the class can access Functions and data members declared in a class that cannot be changed
Protected
[ Choose ] Functions and data members declared in a class are accessible only to other members of class and to functions declared as Friends Functions and data members declared in a class that are accessible to any function Functions and data members declared in a class that are accessible to any class derived from the class and to Friend functions. Functions and data members declared in a class that only the class can access Functions and data members declared in a class that cannot be changed
Public
[ Choose ] Functions and data members declared in a class are accessible only to other members of class and to functions declared as Friends Functions and data members declared in a class that are accessible to any function Functions and data members declared in a class that are accessible to any class derived from the class and to Friend functions. Functions and data members declared in a class that only the class can access Functions and data members declared in a class that cannot be changed
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started