Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.09 seconds.

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

    What does that even mean?
  2. Re: WHY THE CMD DOES NOT ABLE TO FIND "A" IN THIS SIMPLE PROGRM

    Ah. Assuming he has no other problems, then yeah, it should work as long as he compiles and runs the correct file.

    I'd still be willing to bet that he was using the wrong file name. I wouldn't...
  3. Re: WHY THE CMD DOES NOT ABLE TO FIND "A" IN THIS SIMPLE PROGRM

    He also typed the error message in all caps, eliminating any assurances that the error is talking about a.java and not A.java or A.JAVA or A.jAvA.

    There is also the likelihood that he didn't copy...
  4. Re: WHY THE CMD DOES NOT ABLE TO FIND "A" IN THIS SIMPLE PROGRM

    His code didn't compile because, presumably, he was trying to compile a class that didn't exist.

    Say his file was named a.java- Putting aside the fact that class names should start with a capital...
  5. Re: WHY THE CMD DOES NOT ABLE TO FIND "A" IN THIS SIMPLE PROGRM

    This is absolutely not true. All of the following work fine:


    class Main {
    public static void main(String[] ar){
    System.out.println("Works");
    }
    }
Results 1 to 5 of 5