adspace
Answer Posted / Hitesh Pandey
In Java, access modifiers include: "public" (can be accessed from any class or package), "protected" (can be accessed within the same package and subclasses of other packages), and "private" (can only be accessed within the same class).
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Write a program to print count of empty strings in java 8?
What is a classloader in java?
What do you mean by an interface in java?
What is a constructor overloading in java?
What is parsing in java?
How to sort array in descending order in java?
How to create a base64 decoder in java8?
Differentiate between static and non-static methods in java.
What is java string pool?
What is the difference between equals() and == in java?
explain different ways of using thread? : Java thread
Is minecraft 1.15 out?
Realized?
What is the difference between break and continue statements?
Explain public static void main(string args[]) in java.