Skip to content

Write a Program to Print Prime Numbers #1

@Ara225

Description

@Ara225

Create a private method to print all prime numbers up to 1000. Call this from a main method. Remember to use sensible method and variable names, and add documentation where necessary! Remember to use the debugger if something goes wrong!

Learning Objectives

  • Create a private Java method to print all prime numbers up to 1000
  • Call this method from a Main method
  • Test the Java program

Why are we doing this?

To practice Java development

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