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 are "methods" and "fields"?
What is another word for methodology?
List some features of the abstract class.
What is the meaning of variable in research?
Is char a data type in java?
Can we have multiple catch block for a try block?
Give example to differentiate between call by value and call by reference.
Mention a package that is used for linked list class in java.
What do you mean by mnemonics?
Difference between nested and inner classes ?
What is stack explain?
How does linkedhashmap work in java?
What is blank final variable?
Is call by reference possible in java?
Can you pass functions in java?