FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update JavaEceptionHandling.java by RakeshPatil95 · Pull Request #43 · Java-aid/Hackerrank-Solutions · GitHub

Update JavaEceptionHandling.java - #43

Open
RakeshPatil95 wants to merge 1 commit into
Java-aid:masterfrom
RakeshPatil95:patch-2
Open

Update JavaEceptionHandling.java#43
RakeshPatil95 wants to merge 1 commit into
Java-aid:masterfrom
RakeshPatil95:patch-2

Conversation

Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown
Author

Updated

Comment on lines +16 to +17
else if(n==0 || p==0)
throw new Exception("n and p should not be zero.");

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

why it should throw exception when n & p is 0 its a valid case

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL