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 mean by collectors in java 8?
What is yield () in java?
What environment variables do I need to set on my machine in order to be able to run java programs?
What are the advantages of passing this into a method instead of the current class object itself?
What is local class in java?
How do you write methodology?
What is a parameter in a function?
Explain about wait() method?
Explain the difference between protected and default access.
Why do we need hashmap in java?
What is the output of the below java program?
Explain jvm, jre, and jdk?
What are dot operator queries?
Explain the significance of class loaders in bootstrap?
What’s meant by anonymous class?