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
How to sort list of list in java?
What is difference between throw and throws ?
What is binary tree in java?
Is a case study a method or methodology?
how to split string in java?
Why is stringbuffer faster than string?
Does variable declaration allocate memory?
Mention some features of java?
What are the steps involved to write rmi based programs?
What are the advantages of functions?
Can we split string with in java?
Which data type is a class in java?
What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?
How static variable work in java?
Are arrays static in java?