hoe can u call a constructor of a private classs to other
inherited claa??
Answer Posted / 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 |
Post New Answer View All Answers
What is advantage of java?
Why javac is not recognized?
How many types of gc are there in java?
How do I enable java in safari?
Can you extend singleton class?
What do you mean by garbage collection used in java?
How is hashset defined in java?
what is predefined function in java?
What are constants and how to create constants in java?
Explain working of call by reference function invoking.
Why for each loop is used?
What does regex mean?
What is boolean law?
How can we make a class singleton?
Can you explain the usages of class.forname()?