What is the difference between this() and super()?
Answer Posted / abc
this() is used to invoke default constructor of same class
And super() is used to invoke constructor of super class.
| Is This Answer Correct ? | 12 Yes | 4 No |
Post New Answer View All Answers
What is double parsedouble in java?
What is the main purpose of java?
What is %02d?
What is dynamic binding(late binding)?
What is thread safe singleton?
What is final int?
How many types of classes are there in java?
What is a string what operation can be performed out with the help of a string?
What is double in java?
Explain the pointers in Java?
What does the string method compareto () do?
Can an object be null?
Does java initialize arrays to zero?
What does file separator do in java?
which class is the wait() method defined in? : Java thread