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
What do you understand by java?
What are the methods used to implement for the key object in the hash map?
Can we override singleton class?
What are the library functions in java?
which class is the wait() method defined in? : Java thread
When do I need to use reflection feature in java?
What is the meaning of 3 dots in java?
What is data and its types?
What is a singleton class in Java?
What is double word?
What is bom encoding?
What is polymorphism in java? What are the kinds of polymorphism?
What is a function easy definition?
Is jdk required on each machine to run a java program?
Differentiate between stringbuffer and string?