Java type casting of reference data type | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Java type casting of reference data type

If A is a super class of B then what’s the difference between these A obj = new B(); B obj = new B();

18th Nov 2017, 2:04 PM
Ujjwal Singh
Ujjwal Singh - avatar
1 Answer