Type Casting In Java || Java Tutorials - 7 || Coding With Rakesh

Published: 22 October 2021
on channel: CODING WITH RAKESH
9
3

Java Type Casting
Type casting is when you assign a value of one primitive data type to another type.

In Java, there are two types of casting:

Widening Casting (automatically) - converting a smaller type to a larger type size
byte - short - char -int - long - float - double

Narrowing Casting (manually) - converting a larger type to a smaller size type
double - float - long - int - char - short - byte

#java
#JavaTutorials
#JavaProgramming
#Coding
#CodingWithRakesh


On this page of the site you can watch the video online Type Casting In Java || Java Tutorials - 7 || Coding With Rakesh with a duration of hours minute second in good quality, which was uploaded by the user CODING WITH RAKESH 22 October 2021, share the link with friends and acquaintances, this video has already been watched 9 times on youtube and it was liked by 3 viewers. Enjoy your viewing!