Java

Casting Example In Java1 min read

Java Code:

Output:




Casting really means is taking an Object of one particular type and turning it into another Object type.

Leave a Comment