In Java why would one intialise an int variable with 0 when it will be assigned 0 only by default wh

Posted by happysoul on Stack Overflow See other posts from Stack Overflow or by happysoul
Published on 2010-05-16T10:55:09Z Indexed on 2010/05/16 11:00 UTC
Read the original article Hit count: 212

Filed under:
|
|

What purpose does it serve ?

Just read an example in a book where the author has done so.

int numOfGuesses=0;

© Stack Overflow or respective owner

Related posts about java

Related posts about beginner