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 is size of int in java?
How do you remove an element from an arraylist in java?
What exceptions occur during serialization?
How many bytes are a float?
Explain implementation and how is it different from conversion?
What is the difference between compiler and jvm?
How does remove work in java?
What is the latest java version?
Can you achieve runtime polymorphism by data members?
What comes to mind when someone mentions a shallow copy in java?
Can I learn java in 3 months?
What do you mean by global variable?
Can we create object of inner class in java?
What is data and its types?
Explain the public class modifier?