Online Hibernate Training just in Rs. 1000

One week online training in Hibernate ORM framework. Learn Hibernate Framework and enhance your skills. Best Online Hibernate training at 90% discount. Join Now!! Offer is valid Only for limited Period!!! Online Training Big Data and Hadoop Training Java Training  
 

Can a class be declared as protected?

Ads

 
 

Share on Google+Share on Google+

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

Hi,

Can a class be declared as protected?

thanks

Ads
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,


Ads









Related Tutorials/Questions & Answers:
Advertisements