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 |
Explain the difference between a Thread and a Process.
What is finally and finalize in java?
Can finally block be used without a catch?
Which of the following classes will have more memory allocated?
What do you mean by inner class in java?
What is the is a and has a relation ship in oops concept in java?
What is e in java?
What is difference between variable declaration and definition?
How do you use compareto?
Which sort is best in java?
What is the difference between array and arraylist? what is the difference between arraylist and linkedlist?
What is passed by reference and pass by value ?