What is the difference between this() and super()?
Answer Posted / srinu
this() can be used to invoke a constructor of the same class.
whereas super() can be used to invoke a super class constructor.
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
Which package is used for pattern matching with regular expressions?
What is generics in java interview questions?
What is functional interface in java example?
What is difference between stringbuffer and string?
What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?
What is protected access modifier?
How do you know if a value is nan?
What is general methodology?
Outline the major features of java.
Explain features of interfaces in java?
What package is math in java?
What is purpose of find feature?
Explain how to convert any java object into byte array.
Describe different states of a thread.
What is a final class ?