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
What is difference between final and immutable?
What are variable names?
What is treeset in java?
What is the functionality of the stub?
Why do we need hashmap in java?
Name and explain the types of ways which are used to pass arguments in any function in java.
What is the difference between a method and a procedure?
What is string buffer?
How do you differentiate abstract class from interface?
What is Java Package and which package is imported by default?
Write a program to show whether a graph is a tree or not using adjacency matrix.
Does A Class Inherit The Constructors Of Its Superclass?
What is var keyword ?
Does java linked list allow duplicates?
What do you mean by checked exceptions?