aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes scjp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "scjp" Watch "scjp" New topic
Author

scjp

Hiral sherasiya
Greenhorn

Joined: Dec 25, 2009
Posts: 2
what is exactly use of protected member specification in inheritance for c++,java?


Jack of all but Master of none,
But I m Master of One.
Minhaj Mehmood
Ranch Hand

Joined: Jan 22, 2007
Posts: 400

A protected member is visible to inheriting classes, even not part of the same package,.


SCJP6 96% | SCWCD5 81% | SCDJWS5 79%
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

And classes within the same package.


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9293
    
  17

Hi Hiral, welcome to javaranch.

Hiral please Use A Meaningful Subject Line when you start a topic...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
 
Don't get me started about those stupid light bulbs.
 
subject: scjp