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
Differentiate between static and non-static methods in java.
How do you use compareto in java?
can I implement my own start() method? : Java thread
Difference between throw and throws?
hr interview how many minutes asking question
What are sets in java?
Implementations of set interface?
Why is it called boolean?
What is the purpose of a parameter?
why are there separate wait and sleep methods? : Java thread
What is java lang string?
What is the java idl system?
What are the advantages of encapsulation in java?
Can we have multiple classes in single file ?
Why are global variables used?