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 |
How many types of methods are there?
Explain the features of java?
What we have to do, when we don't want to implement all methods of an interface?
what is difference between abstract factory and factory design patterns?
Explain the differences between public, private, protected and static?
What is the function of static in java?
What is an example of a conditional statement?
What are loops in java?
What is a method ?
How to call one constructor from the other constructor ?
WHAT IS THE SCOPE FOR COREJAVA...? IS JAVA ONLY CORE JAVA ?
What is the abstraction?