-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTest.java
More file actions
35 lines (26 loc) · 895 Bytes
/
Copy pathTest.java
File metadata and controls
35 lines (26 loc) · 895 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
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Management_Model;
/**
*
* @author Mahran
*/
public class Test {
public static void main(String[] args) {
Operation_Factory shapeFactory = new Operation_Factory();
// Maneg op1 = shapeFactory.get_Operation("ADD");
// op1.Operation("1", "mahran", "55");
//
// Maneg op3 = shapeFactory.get_Operation("ADD");
// op3.Operation("3", "sal", "44");
// Maneg op4 = shapeFactory.get_Operation("Update");
// op4.Operation("1", "hhhh", "66");
//Maneg op2 = shapeFactory.get_Operation("Delete");
// op2.Operation("3");
Operation op2 = shapeFactory.get_Operation("Search");
op2.Operation("2");
}
}