Learn Java in a day
Present 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.
Downloading and Installing Java (JDK)
Here are the list of topics that you can learn easily in a day:
In this section, you will learn to download and install java in your computer. You are required to follow some steps described in this section. First you should learn how to download and install Java. Once Java is configured on your computer you can start programming in Java.
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.