Learn Java in a day
Java is the most exciting object oriented programming language in
computer programming landscape. Java provides diverse functionalities
ranging from the addition of two numbers to write games, animations and
a lot more. Just imagine and get it through java.
tutorial simply makes you familiar with the jargons of this language and
enables a new comer to create programs in a short span of time. This
tutorial explains the steps to configure the platform for compiling
and running java program. Lot of efforts have been made to give easy
explanation of java concepts through simple
programs. We hope, "Learn java in a day" tutorial will
definitely create your interest in exploring the java world.
Download and install
In this section, you will learn to download and install java in your
computer. You are required to follow some steps described in this
Create first program
In this section, you will learn to
write a simple Java program. You just need
a simple text editor like "Notepad" to develop a java program. Open the notepad and
start writing your Java program.
In this section, you will learn about
Java variables and how to define them. A variable refers to the memory location where the data
is stored while a program runs.
In this section, we will discuss the class concept and its
structure. Initially learn to develop a class in
java. To meet this purpose we have generalized the class structure.
Add Two Numbers in Java
In this section, you will learn to access and work with command line
arguments. Here is an example that takes two values from command line
in an string array (as arguments) and add them.
- Java Control Statements
In this section, we will discuss different types of control statements like decision making statements
(if, if-else and switch), looping statements (while, do-while and for) and
branching statements (break, continue and return). The control statement
controls the execution order of a program. This order depends on conditional
logic and data values supplied.
In this section, we will discuss the OOPs principles essential
to develop java applications. Here we will explore the programming
issues revolving around real life entities.