Answer Posted / priyavarzhni
Protected: the method of a class os accessed only when the
other class inherits it.
Friendly: no need for inheritance. we can access the methods
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is thread pool? How can we create thread pool in java?
Explain an algorithm to find depth of a binary tree.
Is it correct to say that due to garbage collection feature in java, a java program never goes out of memory?
Can we use string in switch case in java?
Can we write a class without main method in java?
Can a class extend more than one class?
Explain about main thread in java?
What is a function in java?
what do you mean by java annotations?
How big is a boolean?
What is difference between float and double?
What is the constructor?
What is the Scope of Static Variable?
Can we declare the static variables and methods in an abstract class?
What is java developer skills?