How to access a method that it declared as protected?
Answer Posted / ravikiran(aptech mumbai)
a protected method can be accessed with in the same packege
and subclasses outside of the package
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Can a lock be acquired on a class in java programming?
What are benefits of java?
What do you understand by an io stream?
what is ststic with example
Name container classes in java programming?
How to handle a web browser resize operation?
What is arraylist e?
Can you declare a private method as static?
Is java map thread safe?
what is inner class in java?
What is object of class in java?
Is ++ operator thread-safe in java?
What is the base class for error and exception?
Give me an example of array and linked list? Where they can be used?
Can we sort arraylist in java?