Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Replies
    5
    Views
    1,459

    Re: how to test arrays in a terminal in java?

    Please explain what you mean by "test arrays".



    A class must have a main() method to be executed using the java command.
    The link provided in post#4 shows how to code a main() method.
  2. Replies
    5
    Views
    1,459

    Re: how to test arrays in a terminal in java?

    Take a look at the tutorial about how to write a java program and execute it:
    "Hello World!" for Microsoft Windows (The Java™ Tutorials > Getting Started > The "Hello World!" Application)
  3. Replies
    5
    Views
    1,459

    Re: how to test arrays in a terminal in java?

    After using the javac command to compile a program,
    use the java command to execute the class created by the javac command:
    java OneA
Results 1 to 3 of 3