Can we inherit the constructor in a Class?please give one
example.
Answer Posted / rakesh
We Can Not Interit the constructor.
We Can't have same class name
And Constructor Hava the same name as class name
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
What is an arraylist in java?
Can we override a variable in java?
Define jit compiler?
What is meant by distributed application? Why are we using that in our application?
Where can I find jdk in my computer?
What is the difference between normal report & matrix report?
what is the difference between thread and runnable types? : Java thread
Explain when noclassdeffounderror will be raised ?
why java does not support unsigned keyword?
Which programming language is most secure?
Why static functions are used?
what is comparable and comparator interface?
Can a string be null?
What are the common uses of "this" keyword in java ?
Explain constructors and types of constructors in java.