adspace
What all access modifiers are allowed for top class ?
Answer Posted / Chandan Kumar Rawat
A top-level class in Java can have any of the following access modifiers: public (default access outside the package), protected, or private. The default access is only accessible within the same package.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is parsing in java?
What is a constructor overloading in java?
Is minecraft 1.15 out?
What are the differences between heap and stack memory in java?
What is the difference between equals() and == in java?
What is an object in java and how is it created?
Write a program to print count of empty strings in java 8?
Explain public static void main(string args[]) in java.
What is a classloader in java?
How to create a base64 decoder in java8?
What is the difference between break and continue statements?
explain different ways of using thread? : Java thread
Write a program to find the whether a number is an Armstrong number or not?
Realized?
What is java string pool?