Search:

Type: Posts; User: newbie

Search: Search took 0.09 seconds.

  1. Re: error: This method must return a result of type int

    Yeah it is.
    Id say its better convention than ==false/true.

    The same goes for true.

    if (isTrue) {
    //do something if isTrue == true
    } else if (!isTrue) {
    //do...
  2. Re: error: This method must return a result of type int

    public int processResponse(String response) {
    int a;

    boolean foundResponse = false;
    for (a = 0; a < vresponses.size(); a++) { // Check if response exists.
    ...
Results 1 to 2 of 2