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
Why is serialization required?
How can we create objects if we make the constructor private ?
How can an exception be thrown manually by a programmer?
what are the states associated in the thread? : Java thread
What is meant by vector class, dictionary class, hash table class, and property class?
How to perform binary search in java?
explain the difference between jdk and jvm?
What is the static keyword?
How do you sort a list in java?
Which of the following is not an isolation level in the JDBC
What is externalizable?
What is :: operator in java?
how to create multithreaded program? : Java thread
Does substring create a new object?
What are the characteristics of java?