Search:

Type: Posts; User: iCoder

Search: Search took 0.09 seconds.

  1. Re: WHY THE CMD DOES NOT ABLE TO FIND "A" IN THIS SIMPLE PROGRM

    Then lets conclude he had used a wrong file name :)
  2. Re: WHY THE CMD DOES NOT ABLE TO FIND "A" IN THIS SIMPLE PROGRM

    so probably it must work. rite ??

    What i meant is if he had ran the prg using the correct classname it would have worked.

    Assumptions apart. Lets wait if he provides any OP. From that we can...
  3. Re: WHY THE CMD DOES NOT ABLE TO FIND "A" IN THIS SIMPLE PROGRM

    But he has stated that

    I COMPILE THIS BY- javac a.java and run by- java a

    so probably it must work. rite ??
  4. Re: WHY THE CMD DOES NOT ABLE TO FIND "A" IN THIS SIMPLE PROGRM

    then y did his code didn't compile if it's correct ??

    By the way thanks i dnt knw that we can give anything after String[].
  5. Re: WHY THE CMD DOES NOT ABLE TO FIND "A" IN THIS SIMPLE PROGRM

    The error is due to the ar it must be args. -As samfin said.
    Correct it, ur code will be working even if its class a or class A or class whatever :)
  6. Replies
    7
    Views
    10,076

    Re: user name and password validation

    Create a object for guessing game class
    GuessingGame guess = new GuessingGame();
    guess.methodname();
  7. Replies
    7
    Views
    10,076

    Re: user name and password validation

    length is not a method, use it like a property.
    username.length; not as
    username.length();

    ur method type is void, it means it doesn't RETURN any value.
Results 1 to 7 of 8