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
How is string stored in java?
Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters?
What about main() method in java ?
What is the instance of an object?
what is the final keyword denotes in java?
What is double in java?
What is the indent key?
What is http client in java?
Explain the difference between static and dynamic binding in java?
What is the longest unicode character?
What is function declaration?
What’s meant by anonymous class?
What is the final field modifier?
What initialize variables?