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?
To create a socket, you need to know the internet host to which you want to connect?
What is jhttp web server?
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.
What is a thread pool?
What is the Difference between socket and servlet?
What is a listener in networking?
What is a client tester?
What is HttpURL connection ?
What is cookies in networking ?
What is network interface name?
What is an http server?
Explain look for local ports?
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 socket in java?