Variable initialization and default values

As discussed previous posts , we have seen various types of variables in Java. In this post, i am going to discuss about its initialization and default values. In Java, when variable is declared as field (static or instance variable inside class), then initialization of that variable is optional. In other words, while declaring field... Continue Reading →

Create a free website or blog at

Up ↑

%d bloggers like this: