File tree Expand file tree Collapse file tree 3 files changed +31
-2
lines changed
app/Java_Project_68/src/java_project_68 Expand file tree Collapse file tree 3 files changed +31
-2
lines changed Original file line number Diff line number Diff line change 5959/app /Java_Project_66 /build /
6060/app /Java_Project_67 /nbproject /private /
6161/app /Java_Project_67 /build /
62- /app /Java_Project_68 /nbproject /private /
62+ /app /Java_Project_68 /nbproject /private /
63+ /app /Java_Project_68 /build /
Original file line number Diff line number Diff line change 44 * and open the template in the editor.
55 */
66package java_project_68 ;
7-
7+ import java . util . Scanner ;
88/**
99 *
1010 * @author ismailtasdelen
@@ -16,6 +16,11 @@ public class Java_Project_68 {
1616 */
1717 public static void main (String [] args ) {
1818 // TODO code application logic here
19+ Scanner tara = new Scanner (System .in );
20+ new_class hesapla_1 = new new_class ();
21+ System .out .println (hesapla_1 .en );
22+ new_class hesapla_2 = new new_class ();
23+ System .out .println (hesapla_2 .en );
1924 }
2025
2126}
Original file line number Diff line number Diff line change 1+ /*
2+ * To change this license header, choose License Headers in Project Properties.
3+ * To change this template file, choose Tools | Templates
4+ * and open the template in the editor.
5+ */
6+ package java_project_68 ;
7+
8+ /**
9+ *
10+ * @author ismailtasdelen
11+ */
12+ public class new_class {
13+ public double en ;
14+ public double boy ;
15+ public new_class ()
16+ {
17+ en = 10 ;
18+ }
19+ public double dortgen_alan_hesapla ()
20+ {
21+ return en * boy ;
22+ }
23+ }
You can’t perform that action at this time.
0 commit comments