Search:

Type: Posts; User: pottsiex5

Search: Search took 0.09 seconds.

  1. Thread: New to Java

    by pottsiex5
    Replies
    7
    Views
    1,081

    Re: New to Java

    Awesome :)

    So for your challenge it would be this


    public class CommandLineTest
    {
    public static void main (String[] args)
    {
    System.out.println ("Hello, " + args[0]);
  2. Thread: New to Java

    by pottsiex5
    Replies
    7
    Views
    1,081

    Re: New to Java

    Oh you mean using the command promt/terminal? I dont regularly run them in there, but i think i understand what you mean now. So if i were to run it in the command prompt or terminal and i were to...
  3. Thread: New to Java

    by pottsiex5
    Replies
    7
    Views
    1,081

    Re: New to Java

    Hey, Im still a little confused. When you say a command-line arguement, is that the same as parameters? And if it is, then i still dont understand how the parameters of function main can be the...
  4. Thread: New to Java

    by pottsiex5
    Replies
    7
    Views
    1,081

    New to Java

    Hi, Im new to java, coming from C++, and i had a question about the first line of code.

    public static void main(String[] args)
    in the code i understand public static void main, but i dont...
Results 1 to 4 of 4