How are this() and super() used with constructors?
Answer Posted / sunil kishore balla
super() is used to invoke a super class constructor and
this() is used to invoke a constructor of the same class
| Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
Explain about the security aspect of java?
Why we override equals() method?
How to overcome the exception object reference not set to an instance of object?
What is a boolean output?
Under what conditions is an object’s finalize() method invoked by the garbage collector?
What is the do while loop syntax?
Why singleton class is used in java?
What is difference between length and length() method in java ?
I am a fresher and know core java, c languge, html, css etc if I am illegible for any job then send it on my email tatranakshay276@gmail.com
What is the difference between jfc & wfc?
Define iterator and methods in iterator?
What is the meaning of find and replace?
How do you find the maximum number from an array without comparing and sorting?
What is hotjava?
What is javac_g?