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 nextline method in java?
What is the generic function?
How does varargs work in java?
What is the use of arrays tostring () in java?
Difference between Preemptive scheduling vs. Time slicing?
What are the procedures?
What is the covariant return type?
What does void * mean?
What is the abstract class?
How many characters is 2 bytes?
What is a string what operation can be performed out with the help of a string?
How can we create a synchronized collection from given collection?
Are floats faster than doubles?
What are variable names?
What happens if I remove static from main method?