Introduction: A high level programming
language developed by sun micro system. Java was originally called OAK,
and was designed for handheld devices and set-top boxes. Oak was unsuccessful so
in 1995 Sun changed the name to Java and modified the language to take advantage
of the burgeoning world wide web. Java is a programming language created by
James Gosling from Sun Micro systems in 1991. The first public available version
of Java (Java 1.0) was released 1995. Over time several version of Java were
released which enhanced the language and its libraries. The current version of
Java is Java 1.6 also known as Java 6.0. From the Java programming language the
Java platform evolved. The Java platform allows that code is written in other
languages then the Java programming language and still runs on the Java virtual
machine.
Characteristics of Java
- Object-orientated programming language.
- Strongly-typed programming language.
- Automatic memory management.
- Platform independent.
Your first
Java program
-
Write Source Code.
-
Start->Run-> notepad .
Code:
class sonu1
{
public static void
main(String[] args)
{
System.out.println("manish
kumar singh");
}
}
Output:

Summary:
If you know the Java is the pure object oriented language and this is simple
example write your first program in java. Now in this program simple display
your name so first we create class name "sonu1" in this class we have display
the name in Java.