123456789101112131415161718192021222324
  1. /**
  2. * Created by leon on 1/10/18.
  3. */
  4. public class Product {
  5. public void getPrice() {
  6. int price = 4;
  7. System.out.println("Price: " + price);
  8. }
  9. public void getID() {
  10. int iD = 88;
  11. System.out.println("Product ID: " + iD);
  12. }
  13. public int quantity() {
  14. return 0;
  15. }
  16. }