-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathHelloWorld.java
More file actions
43 lines (32 loc) · 869 Bytes
/
HelloWorld.java
File metadata and controls
43 lines (32 loc) · 869 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
37
38
39
40
41
42
43
public class HelloWorld {
int age = 25;
static Integer myAge = 25;
public static void main(String[] args) {
int x = 0;
int y = 5;
Integer abc = myAge;
abc = 27;
name = "Tübitak";
String newName = "Tübitak";
System.out.println("a".equals(name));
if(name.equals(newName))
System.out.println("Eþittir!");
abc += 10;
System.out.println(abc);
System.out.println(abc+=10);
System.out.println(abc);
System.out.println(abc++);
System.out.println(myAge);
System.out.println(name);
System.out.println(x == y);
System.out.println("#####");
String kamil = "b";
System.out.println(kamil);
System.out.println(name);
System.out.println(name.equals("Tübitak"));
System.out.println(kamil.equals("b"));
System.out.println("Tübitak".equals(name));
System.out.println("#####");
}
static String name = "a";
}