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 |
Tell me about different OOPS concepts.
Does constructor creates the object ?
what is daemon thread and which method is used to create the daemon thread? : Java thread
What is wrapper class html?
Can we create a constructor in abstract class?
IS method overriding is Duplication of Methods?
we r taking <load-on-startup>0</load-on-startup> <load-on-startup>1</load-on-startup> in deployment descripter for loading servlets like serv1 N serv2? so 'll it take serv1 or serv2
What is the difference between a method and a function in alice?
what is the Use of throws exception?
Why are strings immutable in Java?
What methods are used in Servlet?Applet communication?
Given: 1. package test; 2. 3. class Target { 4. public String name = “hello”; 5. } What can directly access and change the value of the variable name? 1 any class 2 only the Target class 3 any class in the test package 4 any class that extends Target