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 reflexive association?
What is the purpose of file class?
What is r * in math?
How does sublist works in java?
Do I need java on my pc?
How objects of a class are created if no constructor is defined in the class?
When do you call copy constructor?
How does regex work?
How many arguments can be passed to main ()?
How many days will it take to learn java?
Do you need to import math in java?
What is the difference between a method and a procedure?
What is the use of string and stringbuffer?
What is an object’s lock and which object’s have locks?
please send me hr interview questions in it industry