In what circumstances, compiler will supply a default
constructor for a class?
Answer Posted / uthrakumar-wipro technologies
if there is no constructor was defined explicitly it will
define the default constructor...the logic in this was we
are creating a constructor with out our knowledge while
creating an object as follows....
<classname> <obj>=new <classname()>------this is
the constructor we are defining .............
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is a databasemetadata?
How many bits is a string in java?
What are the methods available in a class?
What is meant by binding in rmi?
What is final variable?
What does int argc char * argv [] mean?
Explain reverse a linked list iterative solution in java?
What is advantage of java?
what do you mean by marker interface in java?
Can an interface have a class?
What is the best definition for data?
What is a void method?
what is the swingutilities.invokelater(runnable) method for? : Java thread
What is the difference between method overriding and overloading?
What is bean? Where it can be used?