-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRecompose.java
More file actions
36 lines (35 loc) · 911 Bytes
/
Recompose.java
File metadata and controls
36 lines (35 loc) · 911 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
//3.5, 3.50, 0.0, 0, 0., 3d, 3f, 3, 'c'
public class Recompose {
public static void Type(byte i) {
System.out.println("Byte Type"+i);
}
public static void Type(short i){
System.out.println("Short Type"+i);
}
public static void Type(int i){
System.out.println("Integer Type"+i);
}
public static void Type(long i){
System.out.println("Long Type"+i);
}
public static void Type(float i){
System.out.println("Float Type"+i);
}
public static void Type(double i){
System.out.println("Double Type"+i);
}
public static void Type(char i){
System.out.println("Character Type"+i);
}
public static void main(String[] args) {
Type(3.5);
Type(3.50);
Type(0.0);
Type(0);
Type(0.);
Type(3d);
Type(3f);
Type(3);
Type('c');
}
}