Difference between this(), super()?
Answer Posted / ghulam mujtaba
this()can be used invoke to Constructor of the same class
Whereas super() can be used to invoke a super class
Constructor
| Is This Answer Correct ? | 10 Yes | 4 No |
Post New Answer View All Answers
How do you convert boolean to boolean?
Can you sort a list in java?
What is a local, member and a class variable?
What does g mean in regex?
What is == and === in javascript?
What is == mean?
Why do we need singleton?
What two classes are used to read data only?
What is sizeof in java?
What is the use of predicate in java 8?
How to sort an unsorted array in java?
What are white spaces in java?
Tell me about your ability to work under pressure
Tell us something about different types of casting?
What is the meaning of course?