Module 1 - Java Introduction
Module 1 - Java Introduction
1
What is Java? History and its Uses
Forms of Java
The Hello World Program
General Objective: To discuss and familiarize the learners with what is Java, the
history and its uses, the different forms of Java and to understand the Hello World
Program.
Topic No. 1.1 What is Java? History and its Uses
Forms of Java
The Hello World Program
Specific Objectives:
1. To discuss what is Java, the history and its uses and the different forms of Java.
2. To understand the Hello World Program which is the first step in Java Programming
Language.
Time Frame: 1 Hour
Learning Concept:
What is Java?
• Java is a high-level object-oriented programming language developed by the Sun
Microsystems. Though it is associated with the World Wide Web but it is older
than the origin of Web.
• It was only developed keeping in mind the consumer electronics and
communication equipments. It came into existence as a part of web application,
web services and a platform independent programming language in the 1990s.
History of Java
• Earlier, C++ was widely used to write object oriented programming languages,
however, it was not a platform independent and needed to be recompiled for
each different CPUs.
Forms of Java:
1. JSP – Like PHP and ASP, Java Server Pages based on a code with normal
HTML tags, which helps in creating dynamic web pages.
• Java technology enabled application is key to the games and services available in
the mobile world.
• This also plays an important role in the field of telemedicine such as PulseMeter.
• As far as mobile technology is concerned, it offers offline facility, so that users
can get service even if they face loss of connection.
• Today, all leading mobile service provider like Nokia, Siemens, Vodafone are
using Java technology.
//hello world
public class HelloWorld {
public static void main(String[] args){
System.out.println("Hello World!");
}
}
References:
www.roseindia.com