1.11 Casting in Java (Implicit and Explicit)

Опубликовано: 10 Август 2026
на канале: Harshil's How To
424
25

Here we'll be looking at how to cast our data types when programming in Java. Casting is great for helping to reduce the amount of code that we need to write as it allows us to change our variables from one java data type to another.

We'll be specifically focusing on java's implicit and explicit casting and seeing how both of these concepts work as well as covering casting between a java objects and the primitive data types that we covered in previous videos.

I've included all of the Java code from the class in the Github repository below so feel free to have a look and of course post any questions that you may have in the comments below:

https://github.com/HarshilsHowTo/11-J...

Check out my channel for more tutorial videos and don't forget to like, share and subscribe !