-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHello_World.java
More file actions
36 lines (31 loc) · 801 Bytes
/
Copy pathHello_World.java
File metadata and controls
36 lines (31 loc) · 801 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
import java.util.Date;
public class Hello_World {
public static void main(String[] args) {
// boolean presence= true;
// System.out.print(presence);
/*int a = 10;
int b = a;
a = 5;
System.out.println(a);
System.out.println(b);
Date today = new Date(); // new Variable created
System.out.println(today);*/
//Point p1 = new Point(x:5,y:7);
//Point p2 = p1;
//System.out.println(p2);
//p1.x=7;
//System.out.print(p1);
//System.out.print(p2);
/*int a = 5;
int b = 10;
int c = a + b;
int d = a - b;
int e = a * b;
float f = a/b;
int g = a % b;
System.out.println(g);*/
int a = 5;
a++;
System.out.print(a);
}
}