Can we inherit the constructor in a Class?please give one
example.

Answer Posted / praseen

We can not inherit the constructor in a class. Becoz we can't
have same class name. The constructor hava the same name as
of the class name.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is serialization required?

541


How can we create objects if we make the constructor private ?

537


How can an exception be thrown manually by a programmer?

507


what are the states associated in the thread? : Java thread

591


What is meant by vector class, dictionary class, hash table class, and property class?

675






How to perform binary search in java?

569


explain the difference between jdk and jvm?

557


What is the static keyword?

588


How do you sort a list in java?

574


Which of the following is not an isolation level in the JDBC

1608


What is externalizable?

611


What is :: operator in java?

504


how to create multithreaded program? : Java thread

501


Does substring create a new object?

526


What are the characteristics of java?

520