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
Why do you canvas?
Is array passed by reference in java?
What is the use of jtable?
What is javac_g?
What is the range of the short type?
Is int a class in java?
What is the difference between Array and Hash Table?
Can we declare the main method of our class as private?
Is java a compiler?
Why arraylist is used in java?
When will you define a method as static in Java?
What modifiers may be used with an inner class that is a member of an outer class in java programming?
How many types of variables are there?
how to write a program for sending mails between client and server
What is classname class in java?