Top Posters
Since Sunday
New Topic  
Eels Eels
wrote...
Posts: 716
Rep: 0 0
7 years ago
If ClassA is derived from ClassB, then
A) private members in ClassB are changed to protected members in ClassA
B) public and private members of ClassB are public and private, respectively, in ClassA
C) neither public or private members in ClassB can be directly accessed in ClassA
D) public members in ClassB are public in ClassA, but private members in ClassB cannot be directly accessed in ClassA
Textbook 
Starting Out with Java: Early Objects

Starting Out with Java: Early Objects


Edition: 4th
Author:
Read 100 times
2 Replies
Replies
Answer verified by a subject expert
blitheringblithering
wrote...
Posts: 354
Rep: 9 0
7 years ago
Sign in or Sign up in seconds to unlock everything for free
More solutions for this book are available here
1
University of Notre Dame

Related Topics

Eels Author
wrote...
7 years ago
This brought my confidence back up, thanks
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  1241 People Browsing
Related Images
  
 63
  
 8405
  
 62
Your Opinion
Which 'study break' activity do you find most distracting?
Votes: 741