Day 17: More Exceptions | HackerRank | JAVA

Published: 23 August 2018
on channel: Stranger
76
1

Please subscribe, like, and share for more new videos on the YouTube.

Facebook:   / stranger-113664230460990  

We need to write a Calculator class with a single method: int power(int,int). The power method takes two integers, N and P, as parameters and returns the integer result of num(pwr). If either N or P is negative, then the method must throw an exception with the message: n and p should be non-negative.


On this page of the site you can watch the video online Day 17: More Exceptions | HackerRank | JAVA with a duration of hours minute second in good quality, which was uploaded by the user Stranger 23 August 2018, share the link with friends and acquaintances, this video has already been watched 76 times on youtube and it was liked by 1 viewers. Enjoy your viewing!