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
In case of inheritance what is the execution order of constructor and destructor?
What does += mean coding?
What are the differences between stringbuffer and stringbuilder?
why Java does not support multiple inheritances?
What is a default method?
Can we call virtual funciton in a constructor ?
What is the difference between Java Program Constructor and Java Program Method, What is the purpose of Java Program constructor Please Explain it Breafily?
What is a copy constructor in java?
What is a line break?
What is static keyword?
Can I overload to string method
What are the restriction imposed on a static method or a static block of code?
What is the super void?
Is 0 a real number?
what is instanceof operator used in java?