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 a map in java?
What is a void method?
What is the method to expand and collapse nodes in a jtree?
which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com
What is join () in java?
Is heap stored in ram?
What is constructor chaining and how is it achieved in java?
What are the differences between string, stringbuffer and stringbuilder?
What is the access scope of protected access specifier?
What is the difference between access specifiers and access modifiers in java? 16
What is sortedset in java?
Why java is called not pure object oriented language?
What is the use of parseint in java?
How does varargs work in java?
What happens if constructor is private?