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
Can we define package statement after import statement in java?
What are encapsulation, inheritance and polymorphism?
What are parsers? Dom vs sax parser.
What is parameters example?
explain autoboxing in java?
How do you create an array in java?
What is the use of callablestatement?
Explain 5 io best practices?
How many bytes is a string in java?
Is space a character in java?
What is jagged array in java?
Can there be an abstract method without an abstract class?
What is string [] java?
What is the structure of java?
List some features of the abstract class.