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 |
What is the purpose of using javap?
What are checked exceptions?
Why main() method is public, static and void in java ?
How many types of methods are there in java?
Is vector ordered in java?
How to overcome the exception object reference not set to an instance of object?
Why java doesn’t support multiple inheritances?
What are the major advantages of internal iteration over external iteration?
if the memory capacity is 700 presently occupied by process is 690. then another process request space(40) how this situation handled in java.
Explain the difference between protected and default access.
what is inner class?
Explain with example the concept of constant variable in java.