In Java, what are this() and super(), and where are you required to use them?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
Super() and this() are special keywords in Java that are used to invoke the constructor. This() and super() must appear as the block's initial line.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
Super() and this() are special keywords in Java that are used to invoke the constructor. This() and super() must appear as the block's initial line.
| Is This Answer Correct ? | 0 Yes | 0 No |
In treeset we add same object ...what will be the out put
Can a class have multiple superclasses?
What does jenkins do?
What is Restrictions in hibernate?
Can we make the abstract methods static in java?
What we have to do, when we don't want to implement all methods of an interface?
What is 'finally' method in Exceptions?
Are functions objects in java?
State two differences between C and Java.
Explain the difference between Unicast and Multicast objects?
What is a percentage sign called?
What is boolean example?