lundi 3 décembre 2012

Java Variable Types

In Java, all variables must be declared before they can be used. The basic form of a variable declaration is shown here: type identifier [ = value][, identifier [= value] ...] ; The type is one of Java's datatypes. The identifier is the name of the variable. To declare...
Share:

dimanche 2 décembre 2012

Java Basic Data Types (L4)

Variables are nothing but reserved memory locations to store values. This means that when you create a variable you reserve some space in memory. Based on the data type of a variable, the operating system allocates memory and decides what can be stored in the reserved memory. Therefore, by assigning...
Share:

Java Objects and Classes (L3)

Java is an Object Oriented Language. As a language that has the Object Oriented feature Java supports the following fundamental concepts: Polymorphism Inheritance Encapsulation Abstraction Classes Objects Instance Method Message Parsing In this chapter we will look into the concepts Classes...
Share:

Java Basic Syntax (L2)

When we consider a Java program it can be defined as a collection of objects that communicate via invoking each others methods. Let us now briefly look into what do class, object, methods and instant variables mean. Object - Objects have states and behaviors. Example: A dog has states-color,...
Share:

Java Environment Setup (L1)

Before we proceed further it is important that we set up the java environment correctly. This section guides you on how to download and set up Java on your machine. Please follow the following steps to set up the environment. Java SE is freely available from the link Download Java. So you download...
Share:

Contributeurs

Membres

free counters