Search:

Type: Posts; User: Cornix

Search: Search took 0.09 seconds.

  1. Thread: basic question

    by Cornix
    Replies
    17
    Views
    1,080

    Re: basic question

    Yes, right, of course. Stupid IDE's are making me stupid.
  2. Thread: basic question

    by Cornix
    Replies
    17
    Views
    1,080

    Re: basic question

    First of all, you have no control over how many command line arguments your program gets passed on start up. The user can type in anything he/she wants.
    Thats why the parameter args is an Array of...
  3. Thread: basic question

    by Cornix
    Replies
    17
    Views
    1,080

    Re: basic question

    Probably because otherwise you would hardly be able to test your code.
    There are ways to start a java program without a main method, but its not the usual way. The main method is the default...
  4. Thread: basic question

    by Cornix
    Replies
    17
    Views
    1,080

    Re: basic question

    First of all, it would be good if you started your own thread instead of hijacking the thread of other people. Thats really not the nice way.
    But I will try to help you out as good as I can.

    ...
Results 1 to 4 of 4