how to call One constructor from another;

Answer Posted / srinu

constructor call from one class to another class by useing
the keyword super()(default),super(-)(parameter constructor)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are accessor methods in java?

555


What is the difference between quicksort & mergesort? When should they be used? What is their running time?

655


What is a blocking method in Java?

606


What is the use of private static?

535


Tell us something about set interface.

564






What is used of static keyword in java?

589


what is heap memory?

658


Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?

678


Can an object subclass another object?

556


Explain parallel processing in java8?

637


Can you call one constructor from another if a class has multiple constructors?

587


What is the difference between java applets and applications?

566


Outline the major features of java.

565


What is multithreading in java?

551


Is singleton class thread safe?

535