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
Explain a time server?
What is HttpURL connection ?
What is a listener in networking?
How we can make simple java program for Server/Client Communication
What you know about random port?
If you do not want your program to halt while it waits for a connection, put the call to accept( ) in a separate thread?
What is the use of network interface?
To create a socket, you need to know the internet host to which you want to connect?
What is jhttp web server?
Explain look for local ports?
What is a thread pool?
What is socket in java?
Explain the generic term internet.
What is network programming in java?
Explain a daytime server?