This repository contains Java programs demonstrating Type Casting in Java, including both Primitive and Non-Primitive Type Casting.
These programs were created for practicing and understanding type conversion and type casting concepts in Java.
- Widening Type Casting
- Narrowing Type Casting
- Conversion between primitive data types
- Explicit and implicit type conversion
- Upcasting
- Downcasting
- Type casting between parent and child classes
- Inheritance-based type casting
- Programming Language: Java
- IDE: Eclipse IDE
- Clone or download this repository.
- Open the Java source files in Eclipse IDE or another Java IDE.
- Open the desired Java class.
- Run the program as a Java Application.
This repository was created for Java programming practice and to strengthen my understanding of Primitive and Non-Primitive Type Casting in Java and Object-Oriented Programming.
Sandip Mandal