Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2003
    Posts
    138

    Unanswered: What is wrong with the following statement?

    What is wrong with the following statement?
    System.out.println (++ (x+ y));

  2. #2
    Join Date
    Mar 2004
    Posts
    16

    Re: What is wrong with the following statement?

    Originally posted by valexena
    What is wrong with the following statement?
    System.out.println (++ (x+ y));
    after ++ you have to put a variable, not an expression (like a sum)!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •