Question: Using Java, create a user input that takes an input such as John Smith*1*22*33*1*2 where String name is set as John Smith, int customerType is
Using Java, create a user input that takes an input such as "John Smith*1*22*33*1*2" where String name is set as "John Smith", int customerType is set as 1, int length is set as 22, int width is set as 33, and int numberOfVehicles is set as 2.
Essentially the user can set each attribute by entering the one String.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
