What is a protected void?
Answer / Nitish Raj
In Core Java, 'protected void' is an access modifier and a return type for methods. A protected method can be accessed within its own package as well as from any subclasses outside the package. However, it cannot be directly accessed from another class within the same package.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a finally block?
What is multithreading and its advantages?
How do you make an arraylist empty in java?
Explain the polymorphism principle?
What is the collection interface?
Why are inner classes required?
Where is const variable stored?
What is means by DLL file means ? What is the use of DLL file? What are the contents of DLL file?
What is the default size of set in java?
What is file in java?
I want to know the host name and provider name for tcs web mail
What is r in java?