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
What is final keyword in java? Give an example.
Explain the importance of thread scheduler in java?
What is void class in java?
What is a cup of java?
What’s meant by anonymous class?
Is it possible to override private or static method in java?
What are the types of inner classes (non-static nested class) used in java?
What is bubble sorting in java?
What is protected in java?
How many static init can you have?
What are the states of thread in java?
What is the applet security manager, and what does it provide?
What is lastindexof in java?
What is the this keyword?
What is the synonym of procedure?