In Java, what are this() and super(), and where are you required to use them?
Answer Posted / 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 |
Post New Answer View All Answers
Is hashset ordered?
What are features of java?
Is a case study a method or methodology?
Which are the two subclasses under exception class?
What is difference between fileinputstream and filereader in java?
Are private methods final?
How do you clear an arraylist in java?
why java uses class level type casting ?
What is the destroy method?
What is the difference between a synchronized method and a synchronized block?
What is the use of java?
What happens if we don’t define serial version uid?
How can u increase the heap size in the memory?
Difference between arraylist and hashset in java?
What is the purpose of garbage collection in java? When is it used?