public class Store {
public Store(String product, int count, double price) {
}
public static void main(String[] args) {
Store cookieShop = new Store("cookies", 12, 3.75);
System.out.println(cookieShop);
}
}
I can't seem to print out the values I assigned to cookieShop.
Expected output:
cookies123.75
Output:
Store@2aae9190
Beginner here. Thanks.