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 ststic with example
What's a method in programming?
Is minecraft java edition free?
Distinguish between a predicate and a function?
What is pre increment and post increment in java?
Can main() method in java can return any data?
Is it possible to cast an int value into a byte variable? What would happen if the value of int is larger than byte?
Difference between error and exception
Why collection doesn’t extend cloneable and serializable interfaces?
What is a databasemetadata?
What is this () in java?
Program to Find the second largest element in an array.
What is the difference between interface & abstract class?
Is age a discrete variable?
Can you declare the main method as final?