Skip to content

Write a Program to Reverse Numbers #2

@Ara225

Description

@Ara225

Create a private method that accepts a number as an argument and returns the number in reverse. For example, an input of 3956 should return 6593. Create code to call this from from a main method. Remember to use sensible method and variable names, and add documentation. Remember to use the debugger if something goes wrong!

Learning Objectives

  • Create a private Java method to reverse numbers
  • Call this method from a Main method
  • Test the Java program

Why are we doing this?

To practice basic Java skills

Maximum time in hours

1

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions