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 |
What is the use of math abs in java?
why java does compile time polymorphism at run time ?
What is the purpose of the strictfp keyword?
What is return null in java?
How do you square a number in java?
What is the collection interface?
Can we convert stringbuffer to string?
What are the types of strings?
What is unsigned char?
what's diff between struts 1.1 & 1.2
What is the use of generics? When was it added to the Java development Kit?
Can static method access instance variables ?