wHAT IS DEFAULT SPECIFIER IN JAVA
wHAT IS DEFAULT CONSTRUCTOR IN JAVA
wHAT IS DEFAULT METHOD IN JAVA
Answer Posted / rohit
default specifier specifies access level of class
eg:-
class A{
}
this is default
default constructor is constructor with same name as of
class and no arguments
eg: class A{
A()
}
there is no default method in java
Is This Answer Correct ? | 22 Yes | 5 No |
Post New Answer View All Answers
What do you mean by thread safe?
What is the difference between keyword and identifier?
What are mutable classes?
What is a class reference?
What is floor math?
What is the difference between integer parseint and integer valueof?
How to display all the prime numbers between 1 and 100
Which collection is ordered in java?
What is the set interface in java programming?
How will you initialize an Applet?
Which is best ide for java?
Is hashset sorted in java?
You can create a string object as string str = “abc”; why cant a button object be created as button bt = “abc”;? Explain
What is jpa specification?
What is entry in java?