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 java objectoutputstream?
What is flush buffer?
Who found java?
Why do you canvas?
Why javac is not recognized?
Is .net better than java?
What are advantages of using Java?s layout managers than windowing systems?
What is advantage of java?
What is class level lock ?
What is increment in java?
What are the types of java languages?
What is the similarity between dynamic binding and linking?
Which eclipse is best for java?
What is the static variable?
What is json parser in java?