FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Java-New-features/Java8/src/com/eazybytes/util/Product.java at main · eazybytes/Java-New-features · GitHub
eazybytes
/
Java-New-features
Public
Notifications
You must be signed in to change notification settings
Fork
75
Star
28
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Java-New-features
/
Java8
/
src
/
com
/
eazybytes
/
util
/
Product.java
Copy path
More file actions
More file actions
Latest commit
History
History
History
41 lines (32 loc) · 531 Bytes
Breadcrumbs
Java-New-features
/
Java8
/
src
/
com
/
eazybytes
/
util
/
Product.java
Copy path
File metadata and controls
41 lines (32 loc) · 531 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
29
30
31
32
33
34
35
36
37
38
39
40
41
/**
*
*/
package
com
.
eazybytes
.
util
;
/**
* @author EazyBytes
*
*/
public
class
Product
{
String
name
;
int
price
;
public
Product
(
String
name
,
int
price
) {
this
.
name
=
name
;
this
.
price
=
price
;
}
public
String
getName
() {
return
name
;
}
public
void
setName
(
String
name
) {
this
.
name
=
name
;
}
public
int
getPrice
() {
return
price
;
}
public
void
setPrice
(
int
price
) {
this
.
price
=
price
;
}
@
Override
public
String
toString
() {
return
"Product [name="
+
name
+
", price="
+
price
+
"]"
;
}
}
Back
|
FazBrowse Home
|
New Git URL