Question: Given: public Customer (String name, int measurement) {...} How would you instantiate a Customer object using this constructor? O Customer c1 = new Customer
Given: public Customer (String name, int measurement) {...} How would you instantiate a Customer object using this constructor? O Customer c1 = new Customer ("Pinky", "S", items); O Customer c1 = new Customer ("Pinky", "S"); O Customer cl = new Customer ("Pinky"); O Customer cl = new Customer ("Pinky", 3) ; Customer c1 = new Customer (); O Customer c1 = new Customer ("Pinky", 3, items); Confirm
Step by Step Solution
There are 3 Steps involved in it
To instantiate a Customer object using the given constru... View full answer
Get step-by-step solutions from verified subject matter experts
