Java Interview Questions
Monday, 18 March 2013
What is the difference between this() and super()?
What is the difference between this() and super()?
this() can be used to invoke a constructor of the same class whereas super() can be used to invoke a super class constructor.
Blog Author:
Vijay Kumar
Go to:
Coding Problem Solutions
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment