Advertisement
Guest User

Untitled

a guest
Jan 20th, 2018
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import java.util.*;
  2. import java.util.LinkedList;
  3. import java.util.Scanner;
  4. import java.util.concurrent.TimeUnit;
  5.  
  6.  
  7. public class Products {
  8.  
  9. String name;
  10. double price;
  11.  
  12.  
  13. public Products(String name, double price) {
  14. this.name = name;
  15. this.price = price;
  16. }
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement