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
What is the functionability stubs and skeletons?
Why bytecode is called bytecode?
How many types of parsers are there?
Can array grow dynamically in java?
Why multiple inheritance is not supported by java?
What is immutable class in java?
What is super in java?
Can we extend private class in java?
How do you make an arraylist empty in java?
What is the difference between Java and C++?
Does substring start with 0?
Which programming language is most secure?
What is a vector in java?
What about features of local inner class?
How many types of variables are there?