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
Java Compiler is stored in JDK, JRE or JVM?
What are the differences between path and classpath variables?
Is minecraft java edition free?
What does escaping a character mean?
What are the advantages of encapsulation in java?
Which package has light weight components?
What is the difference in between cpp and java? Can u explain in detail?
Why are constructors used?
Which graphs are functions?
What is the difference between Java Program Constructor and Java Program Method, What is the purpose of Java Program constructor Please Explain it Breafily?
Explain method local inner classes ?
What are the access modifiers available in java?
Difference between vector and arraylist.
What do you mean by order of precedence and associativity?
What is high level language in computer?