Java Dukes-
/ javadukes
In this video you will learn about the type conversions that can be performed in Java. In java the variables do not change their data type on their own. Java contains 8 data types . These 8 data types are arranged in decreasing order of their size. the table which contains all the data types of java in decreasing order of their size is termed as precedence order table.
The precedence table is as follows-
1. double
2. float
3. long
4. int
5. char
6. short
7. byte
although character and short data type is of same size but character data type has given a higher priority then short data type. Boolean data type holds the 8 place in this table but we don not write it because it is used to store the result only and its size is not precisely defined.
Java permits three types of type conversions in java
1. Widening conversion
2. Narrowing Conversion
3. Automatic Type Conversion
Widening conversion ,In this type of conversion a variable having lower data type is imported into variable having higher data type. this video will describe the widening conversion in detail.
Java Dukes -
/ javadukes
Auf dieser Seite können Sie das Online-Video Java Tutorials- Type Conversion in Java (Part 1) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Java Dukes 18 August 2014 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 2,173 Mal angesehen und es wurde von 7 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!