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
Difference between Preemptive scheduling vs. Time slicing?
What is are packages?
Can we overload run() method in java?
What are the characteristics of java?
What is maximum size of arraylist in java?
Explain yield() method in thread class ?
Explain java coding standards for interfaces?
Distinguish between a predicate and a function?
What does main method?
Which class is used by server applications to obtain a port and listen for client requests?
What is arraylist e?
What does int [] mean in java?
What does java ide mean?
Which data type is class in java?
What is void in java?