Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
How could you prevent a run time error for the parameters of the type of product e.g. Cheese Pizza
Compile the code
Define as Strings
Add exception handling
Use static constants or enum
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!