What is the difference between this() and super()?
Answer Posted / amarmca84
this() can be used to invoke a constructor of the same class
whereas super() can be used to invoke a super class constructor.
| Is This Answer Correct ? | 91 Yes | 8 No |
Post New Answer View All Answers
Can singleton class be inherited in java?
What do you mean by mnemonics?
What is the difference between conversation & casting?
what are three ways in which a thread can enter the waiting state? Or what are different ways in which a thread can enter the waiting state? : Java thread
What is java util collection?
How does a cookie work in Servlets?
What is an example of a conditional statement?
What is the latest version of java?
Name few java 8 annotations ?
Does variable declaration allocate memory?
Describe how to implement singleton design pattern in struts.
What is volatile keyword in java
What are the two categories of data types in the java programming language?
What is hashset in java?
What is included in core java?