Skip to content

Commit e959fcf

Browse files
authoredSep 13, 2020
Create Product.java
1 parent fee853c commit e959fcf

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
public class Product {
2+
private String name;
3+
4+
public Product(String name) {
5+
this.name = name;
6+
}
7+
8+
public String getName() {
9+
return name;
10+
}
11+
12+
public void setName(String name) {
13+
this.name = name;
14+
}
15+
}

0 commit comments

Comments
 (0)
Please sign in to comment.