-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCustomerTest.java
More file actions
33 lines (23 loc) · 860 Bytes
/
Copy pathCustomerTest.java
File metadata and controls
33 lines (23 loc) · 860 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
package com.psl.order;
public class CustomerTest {
public static void main(String[] args) {
Customer obj1 = new Customer(1, "Nikhil");
obj1.setPhoneNumbers("00000", "2151", "01531531");
obj1.setPrintingAddress("sbdk", "csnlkan", "dnas", "519210");
obj1.printCustomer();
obj1.printShippingAddress();
obj1.printPhoneNumbers();
Customer obj2 = new Customer(2, "Ritesh");
obj2.setPhoneNumbers("00000", "2151", "01531531");
obj2.setPrintingAddress("sbdk", "csnlkan", "dnas", "519210");
obj2.printCustomer();
obj2.printShippingAddress();
obj2.printPhoneNumbers();
Customer obj3 = new Customer(3, "Asif");
obj3.setPhoneNumbers("00000", "2151", "01531531");
obj3.setPrintingAddress("sbdk", "csnlkan", "dnas", "519210");
obj3.printCustomer();
obj3.printShippingAddress();
obj3.printPhoneNumbers();
}
}