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
Which method cannot be overridden in java?
Hi friends am new to java. I read jar file means collection of java files. For executing struts application what are the necessary jar files. " struts.jar " file contains what. can u explain
What do you mean by pointer value and address?
What is final keyword?
What is the difference between sop and work instruction?
What is meant by class?
What is wrapper class example?
Is string is a keyword in java?
Why does abstract class have constructor?
What is the meaning of variable in research?
what is thread? What are the high-level thread states? : Java thread
How can I right-justify a string?
Explain method overloading?
How to change value in arraylist java?
Does anyone still use java?