-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjava.java
More file actions
56 lines (43 loc) · 1.22 KB
/
Copy pathjava.java
File metadata and controls
56 lines (43 loc) · 1.22 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//public it if you want lol
//use jdk8-21 because oracle is gay
//this is a new class(nothing to do with the main hello world lol)
class newshit {
public void newstring(String meme) {
System.out.println("from newclass \n");
return;
}
}
class helloworld {
public static void main(String[] args){
System.out.println("HEllo world\n");
System.out.println("i hate this");
//println with numbers
System.out.println(69420);
//this is a fucking String
String dreamybull = "omaygot";
System.out.println(dreamybull);
//this is a fucking int
int int1 = 9;
System.out.println(int1);
//i feel right babyyyy
int intl = 7;
int intk = 8;
System.out.println(intl + intk);
String letsdodrugs = "sniff sniff";
System.out.print(letsdodrugs);
String hooray = "yipee";
System.out.println(hooray + "sniff sniff");
//makeof if statement
int thisnumber = 9;
if (thisnumber > 69) {
System.out.println("lower than 69");
} else {
System.out.print("bigger better ;)");
}
//public class isk
String jajsa = "ughghhh";
//calling public cn
System.out.print(jajsa);
System.out.print("eof");
}
}