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
If goto and const is reserve words than why it is not work in java?
What are anonymous inner classes?
Is array a class?
What are peerless components in java programming?
Do you know how to reverse string in java?
What is internal variable?
What do you mean by platform independence?
What is the difference between integer parseint and integer valueof?
What is the difference between an if statement and a switch statement?
What are the topics in advance java?
What is multi-catch block in java?
What are the important features of Java 8 release?
What is difference between equals and hashcode method?
What are different types of encoding?
What is local variable and instance variable?