Scroll to top

Core Java

Posted by JBT
April 20, 2012

Java Reference Variable

Reference variables are used to refer to an object. They are declared with a specific type that cannot be changed.

Types of reference variables

  • Static Variable
  • Instance Variable
  • Method Parameter
  • Local Variable

Read More
Posted by JBT
April 19, 2012

Java String Tutorial

A string is one of those Object which is used heavily in Java. And this is the reason why String has unique handling in Java(String Pool).

Read More
Posted by JBT
April 19, 2012

Java Static Keyword

What is Static

Static is a Non Access Modifier.

Applicable to

The Static keyword can be applied to
  • Method
  • Variable
  • Class nested within another Class
  • Initialization Block

Read More
Posted by JBT
April 19, 2012

Java Array Tutorial

Java Array is a data structure type which is used to store multiple variables of the same type. Arrays can hold Primitives as well as Object. The variables in the array are ordered but not sorted. Each element in the array have an index and starting index for element in array is 0.

An array will always be an Object in Heap. No matter what it store, primitives or Object.

Read More