-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHello.java
More file actions
44 lines (34 loc) · 1.1 KB
/
Hello.java
File metadata and controls
44 lines (34 loc) · 1.1 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
package start;
import javax.swing.*;
// Komentarz
// psvm - public static void main(String[] args)
// sout - System.out.println();
// CTRL + SHIFT + F10 - run
//CTRL + D Duplikowanie
public class Hello {
public static void main(String[] args) {
//for (int i = 0; i < 10; i++){
//System.out.println("Hello World"+ i);}
//System.out.println("Skrót sout");
//JOptionPane.showMessageDialog(null ,"Hello World");
//System.out.println(System.getProperty("java.runtime.version"));
int lunchTime = 12345;
int endTime= -12345667;
System.out.println(lunchTime);
System.out.println(endTime);
double salary = 2100.99;
System.out.println(salary);
char signA = 'A';
char sign9 = '9';
char sign= '\'';
char signspace= ' ';
System.out.println(signA);
System.out.println(sign9);
System.out.println(sign);
System.out.println(signspace);
boolean flag = true;
boolean isLounch = false;
System.out.println(flag);
System.out.println(isLounch);
}
}