#10 Java Typecasting Example

preview_player
Показать описание
This video shows you how to perform typecasting in Java. There are two types of type conversion in Java known as explicit typecasting and implicit typecasting. Implicit typecasting is when you try to fit a smaller number inside a bigger data type whereas explicit typecasting is where you add the cast operator to acknowledge the fact that you are ready to lose data while trying to store a larger number inside a smaller data type.
Рекомендации по теме
Комментарии
Автор

Thank you so much for making such an informative video . This has helped me out a lot in understanding the concept of casting and a little about uni code values. Please keep making such videos because your videos continue to help students around the world.
From Malaysia :-)

maazmuhammad
Автор

#SlideNerd please make videos on exceptions and array of arrays, ArrayList in JAVA

shahriarmim
Автор

In Android, why some people declare typecasting ?

LinearLayout myLayout = (LinearLayout) findViewById(R.id.mylayout);

Here, Both are LinearLayout. what the point of typecasting....

I have so many syntaxes like this in Android development world....

can somebody please clarify ?

webapplicationguide
visit shbcf.ru