How can a class be accessed, If no access modifiers are
declared?
Answer Posted / babu
If a there is no access modifier specified to a class then it
takes the access modifier as Default modifier.Default Access modifier scope is package scope.so this class scope also package scope to access the classes which is having in the same package.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is java util?
Is hashmap thread safe?
What are the different types of multitasking?
Difference between stack and queue?
Is hashset sorted in java?
What is the difference between an array and an array list?
Can you inherit from an abstract class java?
What is a copy constructor in java?
Is finalize() similar to a destructor?
Does java arraylist maintain insertion order?
How are this() and super() used with constructors in java programming?
What is the importance of finally block in exception handling?
What happens when I use / and % with a negative numerator?
What is <> used for in java?
Can we have this () and super () together?