Skip to content

Redundancy of code #6

Description

@vuyanidaweti

For your factorial code why didn't you use static methods for Iterative and Recursion methods. This will help not create a new instance on your code which adds memory on your heap memory.
Instead you will directly call the methods when JVM calls the main method

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions