Lecture 2
Lecture 2
Lecture -2
Introduction & Features of Java
By
Roopesh Kumar Yadav
Lecturer- Computer
Government Polytechnic Jaunpur
History of Java
• James Gosling, Mike Sheridan, and Patrick Naughton
initiated the Java language project in June 1991. The small
team of sun engineers called Green Team.
• Initially designed for small, embedded systems in electronic
appliances like set-top boxes.
• Firstly, it was called "Greentalk" by James Gosling, and the
file extension was .gt.
• After that, it was called Oak and was developed as a part of
the Green project.
• Later, Java technology was incorporated by Netscape as was
suited for networking.
Why Java is named Java?
• Java was called Oak as it is a symbol of strength and chosen as a national
tree of many countries like the U.S.A., France, Germany, Romania, etc.
• The team wanted something that reflected the essence of the technology:
revolutionary, dynamic, lively, cool, unique, and easy to spell and fun to say.
• In 1995, Oak was renamed as "Java" because it was already a trademark by
Oak Technologies.
• Java is an island of Indonesia where the first coffee was produced (called java coffee).
• Initially developed by James Gosling at Sun Microsystems (which is now a
subsidiary of Oracle Corporation) and released in 1995.
• In 1995, Time magazine called Java one of the Ten Best Products of 1995.
• JDK(Java Development Kit) 1.0 released in January 23, 1996.
What is Java?
• Java is a high-level programming language
• Java runs on a variety of platforms, such as Windows, Mac OS, and the
various versions of UNIX.
• It is Class-based and an object-oriented programming language.
• It is developed for the distributed environment and software development
for consumer electronic devices such as TVs, VCRs, toasters, etc.
• Java Programming Language is a platform-independent language, which
means there is no limitation to any particular hardware or operating
system. It provides users the facility to ‘write once, run anywhere’. Many
operating systems such as Sun Solaris, RedHat, Windows, etc., support
Java.
Current Popularity
Features of Java
Features of Java
• Object Oriented: Java is an object-oriented programming language.
Everything in Java is an object. Object-oriented means we organize our
software as a combination of different types of objects that incorporates
both data and behavior.
• Simple: The language is easy to learn because its syntax is simple and easy
to understand. It has also removed many complicated methods as compared
to C++ (i.e. explicit pointers, operator overloading, etc…).
• Secured: With Java's secure feature it enables to develop virus-free, tamper-
free systems. Authentication techniques are based on public-key encryption.
• Robust: Simply means of Robust are strong. It is robust or strong
Programming Language because of its capability to handle Run-time Error,
automatic garbage collection, the lack of pointer concept, Exception
Handling. All these points make It robust Language.
Features of Java
• Platform Independent: Java is different from other programming
languages such as C and C++ which are compiled as platform-specific.
But Java is platform-independent, it is guaranteed to be write-once,
run-anywhere language. On compilation Java program is compiled
into bytecode. This bytecode is platform independent and can be run
on any machine, plus this bytecode format also provide security. Any
machine with Java Runtime Environment can run Java Programs.
Features of Java
• Architectural Neutral: A Language or Technology is said to be
Architectural neutral which can run on any available processors in the
real world without considering their development and compilation.
Features of Java
• Portable: Java is portable because it facilitates you to carry the Java
bytecode to any platform. It doesn't require any implementation. If
any language supports platform independent and architectural
neutral feature known as portable. The languages like C, C++, Pascal
are treated as non-portable language. It is a portable language.
According to SUN microsystem.