-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCustomers.java
More file actions
37 lines (35 loc) · 828 Bytes
/
Copy pathCustomers.java
File metadata and controls
37 lines (35 loc) · 828 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
36
37
public class Customers implements Restaurant{
protected int Cust_id;
protected String Name;
protected String Address;
protected Long Phone;
public Customers(int Cust_id){
this.Cust_id=Cust_id;
}
public Customers(int Cust_id,String Name, String Address, Long Phone)
{
this.Cust_id=Cust_id;
this.Name=Name;
this.Address=Address;
this.Phone=Phone;
}
public int getCustId()
{
return Cust_id;
}
public String getName()
{
return Name;
}
public String getAddress()
{
return Address;
}
public Long getPhone()
{
return Phone;
}
public String toString(){
return ("cust_info " +Cust_id+ ", " +Name+ ", "+Address+ "," +Phone);
}
}