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 is the main difference between java platform and other platforms?
Can an interface be defined inside a class?
What is the abstraction?
Why java is considered as platform independent?
What is a package in java? List down various advantages of packages.
When super keyword is used?
What does arrays sort do in java?
What is the main purpose of serialization in java?
What is the basic concepts of OOPS?
Which method must be implemented by all threads?
What is string data type?
Explain about abstract classes in java?
Which number is denoted by leading zero in java?
Whats the difference between notify() and notifyall()?
What do you mean by an object in java?