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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is jhttp web server?

771


Where is the network interface card located?

532


What is network interface name?

551


What is a client tester?

588


What is cookies in networking ?

623






Explain a time server?

596


What is a listener in networking?

595


What is a thread pool?

651


Explain look for local ports?

582


Explain a daytime server?

646


What is socket in java?

634


Tell me about networking classes and interfaces.

635


What is the Difference between socket and servlet?

798


What are the advantages and disadvantages of sockets?

581


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.

676