What is default specifier ??? Use of default specifier ???
Answer Posted / prativa mohapatra
Java provides a default specifier which is used when no
access modifier is present. Any class, field, method or
constructor that has no declared access modifier is
accessible only by classes in the same package. The default
modifier is not used for fields and methods within an
interface.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain jdk, jre and jvm?
What is an example of character?
Can we declare array without size in java?
What class allows you to read objects directly from a stream in java programming?
What is method overloading with type promotion?
What happens if we don’t override run method ?
Can extern variables be initialized?
If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?
Explain about object oriented programming and its features?
What is oops in java?
Is there a sort function in java?
Differentiate jar and war files?
Difference between linkedlist and arraylist.
What are the string methods in java?
Why is java so important?