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 occurs when an object is constructed?
How many JVMs can run on a single machine and what is the meaning of Just-In-Time (JIT) compiler?
What is the difference between array and array list in java?
how to convert Java project into Maven ?
Does windows 10 need java?
Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.
What is keyword in oop?
What is the platform?
Write a program to calculate factorial in java?
What is supplier in java?
Difference between doublesummarystatistics, intsummarystatistics and longsummarystatistics ?
State the significance of public, private, protected class?
List some java keywords sun like c, c + + keywords?
What is compiler and what its output.
Does anyone still use java?