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 is the meaning of variables in research?
In a class implementing an interface, can we change the value of any variable defined in the interface?
Can a class have 2 constructors?
Explain an intermediate language?
What is the difference between a vector & an array list?
Explain about sets?
What are controls and their different types in awt?
What does isempty () do in java?
What is the arraylist in java?
When the constructor of a class is invoked?
What’s meant by anonymous class?
Are true and false keywords?
How many boolean functions are there?
What is the difference between heap and stack memory?
Can we declare a static variable inside a method?