Core Java - Part 22 - Passing decimal values to the int data type declared variables

preview_player
Показать описание

In this video, I have explained and practically demonstrated assigning the decimal values to the int data type declared variable in Java programs.
Рекомендации по теме
Комментарии
Автор

Here you explained type casting with int alone . Is this situation possible with other data types like converting int to decimal type too like float a = (float) 3

sindhushri