Difference between this(), super()?
Answer Posted / janet
this() can be used to invoke a constructor of the same
class where as super() can be used to invoke a super class
constructor.
Is This Answer Correct ? | 53 Yes | 6 No |
Post New Answer View All Answers
What about static nested classes in java?
What are advantages of using Java?s layout managers than windowing systems?
describe method overloading
Explain the difference between jvm and jre?
What are the advantages of arraylist over arrays?
Why super is first line in java?
What is difference between equal and == in java?
Explain the meaning of java applet.
Explain the difference between arraylist and linkedlist in java?
Can subclass overriding method declare an exception if parent class method doesn't throw an exception?
What is prefix of a string?
How does enum work in java?
How do you clear an arraylist in java?
How will you print number in reverse (descending) order in BST.
Explain about static imports in java?