FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
COMP0004SimpleOrderSystem/src/Product.java at main · UCLComputerScience/COMP0004SimpleOrderSystem · GitHub
UCLComputerScience
COMP0004SimpleOrderSystem
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
COMP0004SimpleOrderSystem
/
src
/
Product.java
Copy path
More file actions
More file actions
Latest commit
History
History
History
28 lines (24 loc) · 411 Bytes
Breadcrumbs
COMP0004SimpleOrderSystem
/
src
/
Product.java
Copy path
File metadata and controls
28 lines (24 loc) · 411 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
public
class
Product
{
private
int
code
;
private
int
price
;
private
String
description
;
public
Product
(
int
code
,
String
description
,
int
price
)
{
this
.
code
=
code
;
this
.
price
=
price
;
this
.
description
=
description
;
}
public
int
getPrice
()
{
return
price
;
}
public
String
getDescription
()
{
return
description
;
}
public
int
getCode
()
{
return
code
;
}
}
Back
|
FazBrowse Home
|
New Git URL