Answer Posted / gyana
there are four access specifier in java.they are
public - means the the properties of class is accessable
to all other classes.
private- means the the properties of class cannot
accessable to any other classes.
protected- means the properties of class will acessed only
to its subclasses,not subclasses of its subclasses.
no access - mean you can access it with in the class.
Is This Answer Correct ? | 6 Yes | 6 No |
Post New Answer View All Answers
What is the difference between variable declaration and variable initialization?
Can substring create new object?
How does list work in java?
How do you know if a value is nan?
What is advantage of java?
What is an argument in java?
What is split return?
How do you convert bytes to character in java?
How to find the index of the largest number in an arraylist java?
What is the parse method in java?
What is sortedset in java?
What is parseint?
How to use Media tracker Class.
Hi friends am new to java. I read jar file means collection of java files. For executing struts application what are the necessary jar files. " struts.jar " file contains what. can u explain
Which programming language is best in future?