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
Why java applets are more useful for intranets as compared to internet?
How many decimal places is a double?
What is oop in java?
what is singleton class in java?
What is numel matlab?
What is the difference between multiple processes and multiple threads?
What is == and === in javascript?
How do you reverse a string in java without using string buffer?
What is the difference between the prefix and postfix forms of the ++ operator?
Explain inheritance in java?
What is an interface in java?
What is default exception handling in java?
How does singleton class work?
How to split arraylist elements in java?
What is a static class in java?