What is the difference between constructor and method?
Answer Posted / shadow
Constructor will be automatically invoked when an object is
created whereas method has to be called explicitly. ...!
$HADOW
Is This Answer Correct ? | 13 Yes | 3 No |
Post New Answer View All Answers
What is map in java?
What are the 5 types of research methods?
Why java is used everywhere?
Difference between throw and throws?
What is a consumer in java?
What is the use of flag?
What's the difference between int and integer in java?
what is server side caching?
What is instance example?
What is an exception? difference between Checked and Unchecked exception in Java
What is difference between string and stringbuffer?
Is singleton set an interval?
State the difference between creating string as new () and literal.
What is a method in java?
Why charat is used in java?