Ben Chuanlong Du's Blog

It is never too late to learn.

Variables in Java

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. There are 3 different types of variables in Java: instance variables, local variables and argument variables. An instance variables will be initialized to default values if it is not initialized manually …