Answer Posted / nikhlesh gupta datia(m.p.)
We can call one of base class constructor inside derive class constructor by using predefine variable "super()" such as super(a), super(a,b) and so on.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Can static methods be inherited?
Is array synchronized in java?
What is the abstract class?
Difference between this() and super() ?
Can we override private methods?
what is deadlock? : Java thread
why not override thread to make a runnable? : Java thread
How do you define a set in java?
What are the differences between abstract class and interface?
What are static variables and functions?
Can list be final in java?
How many types of java are there?
What are the difference between composition and inheritance in java?
Why is stringbuffer thread safe?
Is void a data type in java?