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

Abandaru new branch by abandaru04 · Pull Request #259 · phishman3579/java-algorithms-implementation · GitHub

Abandaru new branch - #259

Open
abandaru04 wants to merge 2 commits into
phishman3579:masterfrom
abandaru04:abandaru_new_branch
Open

Abandaru new branch#259
abandaru04 wants to merge 2 commits into
phishman3579:masterfrom
abandaru04:abandaru_new_branch

Conversation

Copy link
Copy Markdown

By submitting this pull request I confirm I've read and complied with the below requirements.

  • I have read the Contribution guidelines and I am confident that my PR reflects them.
  • I have followed the coding guidelines for this project.
  • My code follows the skeleton code structure.
  • This pull request has a descriptive title. For example, Added {Algorithm/DS name} [{Language}], not Update README.md or Added new code.

Changed Expection Handler

abandaru04 left a comment

Copy link
Copy Markdown
Author

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

This is an implementation of the Exception Handler


public static final long division(int a, int b) {
long result = ((long) a) / ((long) b);
// Expection Handler

Copy link
Copy Markdown
Author

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

Line 6 - 11 adds the Expection Handler for when the division is an extreme case (Ex: 0/0, 1/0, ...)

Copy link
Copy Markdown
Author

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

Looking Good

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