Why child obj = new parent(); is not possible?
Filed under Technia Transcat
The question
Explain the reasons why you cannot assign a new instance of a parent class to a child class reference in Java.
No write-up yet. Related questions below have one.
Related Technia Transcat questions
Collected from public candidate posts and coding forums. Updated Nov 2026.