Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners Can a class be declared as protected?

Have Programming Question? Ask it here!
 
 
 


Java Coder
Can a class be declared as protected?
1 Answer(s)      a year and 5 months ago
Posted in : Java Beginners


Hi,

Can a class be declared as protected?

thanks


Advertisement
View Answers

April 11, 2013 at 1:16 PM


Hi,

A class can't be declared as protected. only methods can be declared as protected.

http://www.roseindia.net/java/master-java/method_overriding.shtml

This link will helpful to you.

thanks,



Related Tutorials/Questions & Answers:
Advertisements
 

 

 

DMCA.com