What all access modifiers are allowed for top class ?
Answer / 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 |
Does collectionutils isempty check for null?
What is size () in java?
What class of exceptions are generated by the java run-time system?
How does serialization work
What is the use of coding?
What are variable arguments or varargs?
Why is Java a platform independent language?
what are the difference between Java and .Net?
Can we pass null as argument in java?
What is runtime polymorphism or dynamic method dispatch?
What are scalar data types?
What is java full form?