You are viewing a single comment's thread. Return to all comments →
There is an error in the problem description.
If either or is negative, then the method must throw an exception which says "n or p should not be negative".
n or p should not be negative
The period should be inside the double-quotes.
Seems like cookies are disabled on this browser, please enable them to open this website
Java Exception Handling
You are viewing a single comment's thread. Return to all comments →
There is an error in the problem description.
The period should be inside the double-quotes.