What is the protected method modifier?



What is the protected method modifier?..

Answer / Deepa

The protected method modifier in Java restricts access to a method within the same package and subclasses of other packages.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is difference between char array and string?

1 Answers  


what is use of business objects?

3 Answers   Tech Mahindra,


Name the package that always imported by default?

4 Answers  


Can we have more than one package statement in the source file?

1 Answers  


What is the range of a character variable?

1 Answers  


What are the pillars of java?

1 Answers  


What are memory tables?

1 Answers   Aspiring Minds,


What is autoboxing and unboxing?

1 Answers  


How would you convert bytes to string?

1 Answers  


In which way does a Primitive data type is passed ?

5 Answers   Sun Microsystems,


What is the default size of set in java?

1 Answers  


what is the difference between equals method and ==

17 Answers   IBM, Professional Access, TCS,


Categories