Solved

If ClassA Extends ClassB, Then

Question 18

Multiple Choice

If ClassA extends ClassB, then:


A) public and private members of ClassB are public and private, respectively, in ClassA
B) public members in ClassB are public in ClassA, but private members in ClassB cannot be directly accessed in ClassA
C) neither public or private members in ClassB can be directly accessed in ClassA
D) private members in ClassB are changed to protected members in ClassA

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents