How can a class be accessed, If no access modifiers are
declared?
Answer Posted / banti
If a there is no access modifier specified to a class it
takes the access modifier as Default. This means the class
which has Default Access modifier can be accessed from
other classes defined in the same package.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are the two types of exceptions in java? Which are the differences between them?
Name four container classes.
What are the differences between checked exception and unchecked exception?
What are the differences between processes and threads?
What is this () in java?
What is the difference between yield() and sleep()?
What is scanner in java?
What is bom encoding?
How to implement an arraylist in java?
How do you insert a line break?
what is encapsulation in java? Explain
What are the basic control structures?
How does the garbage collector works in java?
What are the supported platforms by java programming language?
what is synchronization and why is it important? : Java thread