primitive data type Archive
26 Sep 2014
Array of Objects in java

Array of Objects : In our previous article Arrays in java, we discussed array of primitive data types as a very useful and power ful tool. Java also allows you to declare array of objects which is more useful and powerful (logically & cleanly) tool.
18 Jun 2014
Primitive type vs Reference type in Java

We all are familiar with variables, in java variables represent a memory location that hold a value. During declaration of a variables, you are telling the compiler that what kind of value the variable can hold. For example a primitive type or a reference type. The following figure illustrate the difference between the both types.