What is the difference between this() and super()?
Answer Posted / ajay yadav
super() immediately refers to the base class constructor to
initialize the variable.
this() refers to the current object.
Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
What is continuity of a function?
Explain how to force the garbage collection in java.
What are use cases?
What is meant by call by reference?
What is getclass () getname () in java?
What is the purpose of the runtime class in java programming?
What are the differences between heap and stack memory?
Can a class have more than one object?
Is a case study a method or methodology?
Difference between collection, collection and collections in java?
Can we instantiate interface in java?
Can an abstract class be a final class?
What is equlas() and hashcode() contract in java? Where does it used?
Why is java called the platform independent programming language?
Is cout buffered?