What is protected and friendly?
Answer / 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 |
How do you relate a Interface to a Class? Tell me in Detail?
What is map in java?
Explain the differences between static and dynamic variables?
What variables are stored in stack?
Why is java multithreaded?
What is internal variable?
How do you find the maximum number from an array without comparing and sorting?
Wha is the output from system.out.println(“hello”+null); ?
What is hasnext in java?
What is a lambda expression ? What's its use ?
How we can generate random numbers in java?
What is a copy constructor in java?