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
Write a program to reverse a number in java?
What is the difference between the size and capacity of a vector?
What are static methods?
What are the difference between composition and inheritance in java?
What are the new features in java 8?
What is preflight request?
Explain list interface?
Write a function to print Fibonacci series and Tribonacci series?
What will be the initial value of an object reference which is defined as an instance variable?
What is the purpose of nested class in java?
What does the @override annotation do?
can used Protected Class outside Function.?
What is the syntax and characteristics of a lambda expression? Explain
Can we execute a program without main() method?
Explain the importance of import keyword in java?