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 int short for?
What is abstract class? Explain
What is the use of hashmap in java?
What is java virtual machine and how it is considered in context of java’s platform independent feature?
What is a memory leak in java?
What is the difference between jvm and jre? What is an interface?
What type of variable is error flag?
What is functional interface in java?
What is meant by inheritance and what are its advantages?
Write a program to print fibonacci series up to count 10.
Can we inherit a class with private constructor?
What is the final field modifier?
What is the meaning of course?
Can we instantiate interface in java?
How to display names of all components in a Container?