-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPrimaryTypes.java
More file actions
31 lines (23 loc) · 780 Bytes
/
Copy pathPrimaryTypes.java
File metadata and controls
31 lines (23 loc) · 780 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
import com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OUTPeer;
public class PrimaryTypes {
public static void main(String[] args){
byte byteVar = 99;
System.out.println(byteVar);
short shortVar = -30000;
System.out.println(shortVar);
int intVar = 300000;
System.out.println(intVar);
long longVar = 99;
long bigLongVar = 9999999999L;
System.out.println(bigLongVar);
float floatVar = 100.1111111f;
System.out.println(floatVar);
double doubleVar = 100.1111111;
System.out.println(doubleVar);
boolean condition = true;
boolean fcoundition = false;
System.out.println(condition);
char ch = 'A';
System.out.println(ch);
}
}