-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathShapes.java
More file actions
27 lines (24 loc) · 791 Bytes
/
Copy pathShapes.java
File metadata and controls
27 lines (24 loc) · 791 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
// shape file in experiment6
package experiment6; // ✅ Same package name
public class RunAccount {
public static void main(String[] args) {
Account acc = new Account(5000.75); // ✅ Creating Account object
acc.displayBalance();
}
}
// circle file in experiment6
package experiment6; // ✅ Same package name
public class RunAccount {
public static void main(String[] args) {
Account acc = new Account(5000.75); // ✅ Creating Account object
acc.displayBalance();
}
}
// mainshape file in experiment6
package experiment6; // ✅ Same package name
public class RunAccount {
public static void main(String[] args) {
Account acc = new Account(5000.75); // ✅ Creating Account object
acc.displayBalance();
}
}