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 data types supported by java?
What is a double?
Can we sort set in java?
What is blank final variable?
What are locale settings?
What is static variable with example?
Why is java called java?
How do you sort a string in alphabetical order in java?
What are passing parameters?
What is the difference between synchronized and synchronized block?
What is jit and its use?
Which is better stringbuffer or stringbuilder?
When does an object becomes eligible for garbage collection in java?
How do you get length in java?
What are scalar data types?