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 buffer in java?
What is class??
For class CFoo { }; what default methods will the compiler generate for you>?
Is main an identifier?
explain local datetime api in java8?
How we can make copy of a java object?
What is the primitive type byte?
How do you start a new line in java?
write a program that list all permutations of ABCDEF in which A appears before B?
What’s the difference between callable and runnable?
Which one will take more memory: an int or integer?
What is the Scope of Static Variable?
Why is it called a string?
What is array sorting in java?
What is the diffrence between inner class and nested class?