We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 482f63b commit 509ba69Copy full SHA for 509ba69
Variable and DataType/TypeCasting.java
@@ -3,6 +3,8 @@ public static void main(String[] args) {
3
// Type Conversion is also known as Narrowing and Explicit
4
// Changing any dataType forcefully
5
6
+ // double->float->long->int->short->byte
7
+
8
// Float to int
9
float f = 99.67f;
10
int i = (int) f;
0 commit comments