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
What is the purpose of the strictfp keyword?
Can you override private or static method in java?
Where is stringbuffer stored?
Is alive method in java?
Which is illegal identifier in java?
What is memory leak and how does java handle it?
What is slash r?
What are the 3 types of control structures?
Is java platform independent?
How many characters is 16 bytes?
Write a java program to generate fibonacci series ?
Where we write javascript code in html page?
What is the return type of the main method?
Does windows 10 need java?
How does compareto method work?