Differentiate constructor and a method and how are it be
used?
Answer Posted / arunji,shc
constructor it should be same name of class but method name
is userdefined.
when the object created constructor call automatically but
method through the object have to call.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How is the marker interface used in Java?
What is difference between final and immutable?
Differentiate between class and structure.
What does \ mean in regex?
can rmi and corba based applications interact ?
How do I run java on windows?
Is the milky way in a void?
Explain what access modifiers can be used for variables?
What is a final class ?
What is array length in java?
Which is the best sorting technique in java?
Which is better list or arraylist in java?
What is the dot operator?
What technique can be employed to compare two strings?
What all access modifiers are allowed for top class ?