Object TypeCasting in Java Part-1 | Upcasting and Downcasting | JAVA OOP

Опубликовано: 16 June 2026
на канале: Droid Brilliance
314
17

In java when one object reference can be type cast into another object reference then it's called as object typecasting. The cast can be to its own class type or to one of its subclass or superclass types or interfaces. There are compile-time rules and runtime rules for casting in java.

In this video I covered only the first rule.
Link to Part 2 here :    • Object Typecasting in Java Part - 2 | Case...  

#java #oop #typecasting #javabasics #JavaSE