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 is the covariant return type?
what is predefined function in java?
Can we call thread start () twice?
How do you override a variable in java?
What access modifiers can be used for variables?
What is the differences between heap and stack memory in java? Explain
What is an example of a keyword?
Write a program to find the whether a number is an Armstrong number or not?
What are different types of expressions?
How do you classify Dialog Box?
What is the abstraction?
What are instance variables?
What is the difference between abstraction and encapsulation?
What happens if I remove static from main method?
Where are variables stored?