Advertisement
Guest User

Untitled

a guest
Apr 20th, 2019
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. public class Product {
  2.  
  3. private String name;
  4.  
  5. private String category;
  6.  
  7. private Double value;
  8.  
  9. private Integer quantity;
  10.  
  11. public Product() {
  12. }
  13.  
  14. public Product(String name, String category, Double value, Integer quantity) {
  15. super();
  16. this.name = name;
  17. this.category = category;
  18. this.value = value;
  19. this.quantity = quantity;
  20. }
  21. //Getters & Setters omitidos
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement