where u can used in real time "protect" specifier
or
real world example of protect specifier



where u can used in real time "protect" specifier or real world example of protect speci..

Answer / karthik

Protect is a access specifier used in the concept of Inheritance. If a class is declared as protected only subclass which implemented super class can access its methods and variables,any other class cant access them.

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More Java Networking Interview Questions

What is the main difference between Client side Java Script and and Server side Java Script how actually they run on both side with Example.

0 Answers   MCN Solutions,


What is socket in java?

0 Answers  


What is HttpURL connection ?

0 Answers   Akamai Technologies,


What is an http server?

0 Answers  


Is it possible to send an object using Sockets, if so, how it can be?

2 Answers   TCS,






EDP RESPONSIBILITIES

1 Answers   Aurum, HFL, JK Ansell, NDS, University,


What is an http redirector?

0 Answers  


What do you understand by the term network?

0 Answers  


Explain look for local ports?

0 Answers  


What is Domain Naming Service (DNS)?

3 Answers  


how to know which version of java is running on ur computer using command prompt?

2 Answers   BeBo Technologies,


What are the advantages and disadvantages of java sockets.

0 Answers  


Categories