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 are the 7 types of characters?
what is inner class in java?
What is the use of singleton?
What are the types of arrays in java?
What is the use of inner class?
What is the use of java?
How will you call an Applet using Java Script Function?
What is the difference between preparedstatement and statement in java?
What is a hashmap used for?
What is a variable declaration?
What the difference is between execute, execute Query, execute Update?
Can we extend singleton class?
What are the benefits of java?
What is the memory leak in java?
What is static keyword?