Video Topic: Automatic Type Promotion In Java Language
In this video you will learn about automatic type promotion in java language.
Hope you will learn from this video.
.........................................................................................................
If you have any question or suggestion please comment below
in comment section.
..................................
Code :
...............................................................
class Promote {
public static void main(String args[]) {
byte b = 40;
char c = 'b';
short s = 1045;
int i = 52460;
float f = 5.453f;
double d = 5.24368;
double result = (f * b) + (i / c) -(d * s);
System.out.println((f * b) + " + " + (i / c) + " -" + (d*s));
System.out.println("result = " + result);
}
}
.............................................................
Thanks for watching
=============
Hamid Tutorials
=============
Stay with us for more videos
Thanks
En esta página del sitio puede ver el video en línea Automatic Type Promotion In Java Language | Hamid Tutorials | de Duración hora minuto segunda en buena calidad , que subió el usuario Hamid Tutorials 30 julio 2019, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 1,925 veces y le gustó 31 a los espectadores. Disfruta viendo!