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



Home Answers Viewqa Java-Beginners What is the access scope of a protected method?
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Java Coder
What is the access scope of a protected method?
1 Answer(s)      a year and 8 months ago
Posted in : Java Beginners


Hi,

What is the access scope of a protected method?

thanks


Advertisement
View Answers

April 11, 2013 at 1:24 PM


Hi,

In Java program, A protected method can be accessed by the classes within the package or by the subclasses of the class of any package. The Protected method can be overridden by protected or public methods.

This link will help you. http://www.roseindia.net/java/master-java/scope.shtml



Related Tutorials/Questions & Answers:
Advertisements
Advertisements
 

 

 

DMCA.com