Different types of variables in Java

As i discussed in last post there can be two types variables depending on value they store, such as reference and primitves. In this post i am going to discuss different types of variables depending on their scope. Following are the kinds of variables categorized according to their scope Static variables Instance variables Method local... Continue Reading →

Types in Java

There are mainly two categories of types in Java primitive types and reference types So, we can have two kinds of variables holding values of these two types. Primitive types Primitive types are boolean and numeric types such asĀ  byte, short, int, long, char, float, double and these are predefined in the Java language. memory... Continue Reading →

Create a free website or blog at WordPress.com.

Up ↑

%d bloggers like this: