Can the return statement execute more than once in Java as opposed to Python? -
considering python execute return statement in function @ 1 time, can java execute statement more once?
java function can execute 1 return statement per iteration.
doesn't matter how many return statements write in function, first 1 found in traversed path of function executed.
Comments
Post a Comment