What is the difference between this() and super()?
Answer Posted / amol
this() is used to call another constructor of current class based on the argument list....
super() is used to call the constructor of another class or parent class based on the argument list....
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is final int?
Why do you canvas?
What are wrapper classes in java?
What is jagged array in java?
What is meant by interface?
How do I convert a numeric ip address like 192.18.97.39 into a hostname like java.sun.com?
Explain the difference between intermediate and terminal operations in java8?
Can bool be null?
How can we access some class in another class in java?
How can an exception be thrown manually by a programmer?
What is jvm? How its run?
Difference between Preemptive scheduling vs. Time slicing?
Implementations of set interface?
Describe different states of a thread.
What is meant by object?