Answer Posted / venki
Private : It can access with in the class only
public :It can Access Any where
proteced:It can access with in the package and sub class of
the package also
default:it access with in the package only.
| Is This Answer Correct ? | 13 Yes | 3 No |
Post New Answer View All Answers
What are the java ide's? Explain
What is the preferred size of a component in java programming?
Why do we need array in java?
What is difference between module and function?
Can a static method be overridden in java?
What are adapter classes?
What is an example of a constant variable?
Can we cast any other type to boolean type with type casting?
Is 0 an even number?
What is formatted output in java?
Can we write a class without main method in java?
What are the types of literals?
How we can skip finally block of exception even if some exception occurs in the exception block in java?
what is the purpose of using rmisecuritymanager in rmi?
What is the purpose of using java.lang.class class?