Access Millions of academic & study documents

A derived class has access to(C++)a)the private functions and var

Content type
User Generated
Showing Page:
1/1
A derived class has access to(C++):
a)the private functions and variables of its ancestor
classes
B)the public functions and variables of its ancestor classes
C)both private and public functions and variables of its
ancestor classes
d)only the functions and variables defined it its class
Solution
A derived class has access to the public functions and
variable of its ancestor classes.
therefore answer is,
B) the public functions and variables of its ancestor
classes

Sign up to view the full document!

lock_open Sign Up
Unformatted Attachment Preview
A derived class has access to(C++): a)the private functions and variables of its ancestor classes B)the public functions and variables of its ancestor classes C)both private and public functions and variables of its ancestor classes d)only the functions and variables defined it its class Solution ...
Purchase document to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.
Studypool
4.7
Indeed
4.5
Sitejabber
4.4