The workshop is designed to help you anticipate possible questions, review what you've learned, and begin putting your knowledge into practice. Quiz
Answers
ActivityCreate a class called baseCalc() that stores two numbers as properties. Next, create a calculate() method that prints the numbers to the browser. Finally, create classes called addCalc(), subCalc(), mulCalc(), and divCalc() that inherit functionality from baseCalc() but override the calculate() method and print appropriate totals to the browser. |