Answer Posted / niranjanravi
we have 4 access modifiers in java.
public
private
protected
default
| Is This Answer Correct ? | 14 Yes | 5 No |
Post New Answer View All Answers
What is scanner in java?
Which method cannot be overridden in java?
Can we compare two strings in java?
What is the point of polymorphism java?
What are the methods used to implement for the key object in the hash map?
What is the purpose class.forname method?
What class of exceptions are generated by the java run-time system?
How many times finalize method will be invoked? Who invokes finalize() method in java?
Why convert an applet to an application?
What is a list in java?
What data type is a string?
What is the significance of java packages?
What is the difference between a checked and an unchecked exception?
What are new features introduced with java 8 ?
Where we write javascript code in html page?