hoe can u call a constructor of a private classs to other
inherited claa??
Answer / ditendra
class can't be private if it is not a inner class .
we can call constructor of inherited class from private
inner class using super()method.
| Is This Answer Correct ? | 18 Yes | 0 No |
Can you use this() and super() both in a constructor?
What is the % operator?
Which of the following is not an isolation level in the JDBC
What is meant by anonymous class?
What are the different data types in java?
how come we know the object is no more used in the class?
What is time complexity algorithm?
Which class cannot be a subclass in java?
What is field name?
Why do we create public static method in java?
What is args length in java?
what happens when a thread cannot acquire a lock on an object? : Java thread