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
What is jhttp web server?
Where is the network interface card located?
What is network interface name?
What is a client tester?
What is cookies in networking ?
Explain a time server?
What is a listener in networking?
What is a thread pool?
Explain look for local ports?
Explain a daytime server?
What is socket in java?
Tell me about networking classes and interfaces.
What is the Difference between socket and servlet?
What are the advantages and disadvantages of sockets?
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.