-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMain.java
More file actions
21 lines (17 loc) · 700 Bytes
/
Main.java
File metadata and controls
21 lines (17 loc) · 700 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package finalKey;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
// final anahtar kelimesi kullanirsak bunun degeri bir kez verileblir.Ve bu
// deger ya tanimlandigi noktada yada obje olusturuldugunda yani consturucterda.
// finalTest finalTest = new finalTest("Object1");
// finalTest finalTest2 = new finalTest("Object2");
// System.out.println("Obje sayisi:" + finalTest.obje_Sayisi);
// System.out.println("Obje sayisi:" + finalTest2.obje_Sayisi);
System.out.println(Math.PI);
// Math.PI= 3.15;
System.out.println(Database.databaseIsmi);
System.out.println(Database.password);
System.out.println(Database.userName);
}
}