Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.*;
- import java.util.LinkedList;
- import java.util.Scanner;
- import java.util.concurrent.TimeUnit;
- public class Products {
- String name;
- double price;
- public Products(String name, double price) {
- this.name = name;
- this.price = price;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement