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 the use of network interface?
Why socketutil is used?
What is cookies in networking ?
What is socket in java?
Public serversocket(int port, int queuelength) throws ioexception, bindexception?
Tell me about networking classes and interfaces.
What is an http server?
Explain the generic term internet.
What you know about random port?
How we can make simple java program for Server/Client Communication
What is HttpURL connection ?
What is jhttp web server?
If you do not want your program to halt while it waits for a connection, put the call to accept( ) in a separate thread?
Explain a daytime server?
Explain look for local ports?