Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.example.a20621646_k2;
- public class Clothes {
- private String type;
- private double price;
- private int quantity;
- private String originCountry;
- public Clothes(String type, double price, int quantity, String originCountry) {
- this.type = type;
- this.price = price;
- this.quantity = quantity;
- this.originCountry = originCountry;
- }
- public void setType(String type) {
- this.type = type;
- }
- public double getPrice() {
- return price;
- }
- public void setPrice(double price) {
- this.price = price;
- }
- public int getQuantity() {
- return quantity;
- }
- public void setQuantity(int quantity) {
- this.quantity = quantity;
- }
- public String getOriginCountry() {
- return originCountry;
- }
- public void setOriginCountry(String originCountry) {
- this.originCountry = originCountry;
- }
- public String getType() {
- return type;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement