Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.12 seconds.

  1. Replies
    3
    Views
    1,429

    Re: Valid Java, compile

    How about using a print statement? Something like this:

    System.out.println(b = check());

    Now, what if the variable is an int? A String? Something else? What happens then?
  2. Replies
    3
    Views
    1,429

    Re: Valid Java, compile

    Hint: What does the assignment operator return? Might have to do some googling or putting together some test programs to figure it out.
Results 1 to 2 of 2