onActivityResult if statements

Hi, I was wondering what the difference would be between the following two methods. Notice the difference in the if statements:

The first is how it is used in the book:

@Override public void onActivityResult(int requestCode, int resultCode, Intent data) {
    if (resultCode != Activity.RESULT_OK){
        return;
    }
    if (requestCode == REQUEST_DATE){
        Date date = (Date) data.getSerializableExtra(DatePickerFragment.EXTRA_DATE);
        mCrime.setDate(date);
        updateDate();
    }
}

The second is one I also encountered in some tutorials:

@Override public void onActivityResult(int requestCode, int resultCode, Intent data) {
    if (resultCode == Activity.RESULT_OK && requestCode == REQUEST_DATE){
        Date date = (Date) data.getSerializableExtra(DatePickerFragment.EXTRA_DATE);
        mCrime.setDate(date);
        updateDate();
    }
}

What would be the difference? Does it matter which one you use?

In the following chapters, you will add another requestCode and the “else if” to the second “if” statement.