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 superclass?
Explain what is Marker interface?
Which java ide is used the most?
What are facelets templates?
Is .net better than java?
Is overriding possible in java?
What are access specifiers available in java?
What is append function?
What are the types of methods in java?
How to provide security in java
What is string [] java?
Why is multithreading important?
Explain about fail safe iterators in java?
What do you understand by the bean persistent property?
What is java thread dump, how can we get java thread dump of a program?