Answer Posted / nani
Private : It can access with in the class only
public :It can Access Any where in java program
proteced:It can access with in the package and sub class of
the package also
default:it access with in the java program.
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Explain about java sdk?
Can we use return in constructor?
What are namespaces in java?
When do you call copy constructor?
What does split function do in java?
What is the default value of an object reference declared as an instance variable?
If A Class Is Declared Without Any Access Modifiers, Where May The Class Be Accessed?
What is toarray method in java?
How does split work in java?
What is an object in java and how is it created?
What is java used for on a computer?
What are functions in java?
What does nextint () do in java?
What are the java ide’s?
What is the difference between processes and threads?