JobsJob TrackerJob alerts

Technia Transcat ยท 13 questions

All 13Coding 7
  • Java Object-Oriented Programming Concepts
  • Difference between static and non-static in Java
  • Java: Pass by Value or Pass by Reference?
  • Josephus Problem Puzzle: 100 people in a circleCoding
  • Why child obj = new parent(); is not possible?
  • Fibonacci sequence using recursionCoding
  • Difference between Comparator and Comparable
  • Purpose and methods of the Java Object class
  • Reverse a stringCoding
  • Factorial calculationCoding
  • Permutation of an integer arrayCoding
  • Return all subsequences of a stringCoding
  • Character frequency in a string using a HashMapCoding
โ† Technia Transcat questions
  1. Interview questions
  2. Technia Transcat
  3. Why child obj = new parent(); is not possible?

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

  • Difference between static and non-static in Java
  • Java: Pass by Value or Pass by Reference?
  • Josephus Problem Puzzle: 100 people in a circle
  • Fibonacci sequence using recursion
  • Difference between Comparator and Comparable
โ† Josephus Problem Puzzle: 100 people in a circleFibonacci sequence using recursion โ†’

Collected from public candidate posts and coding forums. Updated Nov 2026.