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
Why is the type for real numbers called double?
What is an infinite loop? How infinite loop is declared?
What is a byte array?
What is the final field modifier?
Tell us something about set interface.
Can a static member function access member variable of an object?
Why enumeration is faster than iterator?
What is comparable and comparator interface? List their differences
Is ruby built on java?
Is arraylist ordered?
What is an enumeration?
What is getclass () getname () in java?
Can a class be a super class and a sub-class at the same time? Give example.
Enlist diffrent types of inheritance supported by java?
Which one will take more memory: an int or integer?