How are this() and super() used with constructors?

Answer Posted / ramanareddy333

this()refers the current constructor and
super() refers the super class constructor

Is This Answer Correct ?    18 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are basic keywords?

549


What is logical variable?

498


Where will it be used?

1497


What is java autoboxing?

528


Explain about anonymous inner classes in java?

570






Define locale.

577


Compare java and python.

568


Explain what is Marker interface?

603


What is the difference between an array and an array list?

495


Why there are some null interface in JAVA? What does it mean? Give some null interface in JAVA?

606


Write a program in java to establish a connection between client and server?

499


What is array initialization in java?

484


List out five keywords related to exception handling ?

594


What is the use of flag?

573


How to convert string to byte array and vice versa?

576