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 the difference between the methods sleep() and wait()? : Java thread
Is null an object in java?
What is a method in programming?
Which methods are used during serialization and deserialization process?
what is session in java?
Which data type is a class in java?
How do you sort data in java?
What is callablestatement? How you can call stored procedure to pass in parameter?
What is final class?
What is functional interface in java example?
What is the use of static class?
What language is an assembler written in?
Why do we use regex?
What are basic keywords?
What is map in java?