File tree 3 files changed +31
-2
lines changed
app/Java_Project_68/src/java_project_68
3 files changed +31
-2
lines changed Original file line number Diff line number Diff line change 59
59
/app /Java_Project_66 /build /
60
60
/app /Java_Project_67 /nbproject /private /
61
61
/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 4
4
* and open the template in the editor.
5
5
*/
6
6
package java_project_68 ;
7
-
7
+ import java . util . Scanner ;
8
8
/**
9
9
*
10
10
* @author ismailtasdelen
@@ -16,6 +16,11 @@ public class Java_Project_68 {
16
16
*/
17
17
public static void main (String [] args ) {
18
18
// 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 );
19
24
}
20
25
21
26
}
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