Saad A.

asked • 06/07/15

How can i make this OOP Program?

Declare a class test in which you declare two members of int type a, b and declare a method named divide and divide two members and throw exception of divided by zero

1 Expert Answer

By:

Inactive Tutor answered • 03/10/19

Tutor
New to Wyzant

Inactive Tutor

In C++ the exception terminates execution, but in Java the loop continues
Report

03/10/19

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.