history of Java:
Java is a programming language created by
James Gosling from Sun Microsystems (Sun) initiated the Java language project in June 1991. The target of Java is to write a program once and then run
this program on multiple operating systems. The first publicly available
version of Java (Java 1.0) was released in 1995.The current version
of Java is Java 1.8 which is also known as java 8.
Features of java:
■ Simple: Java was designed to be easy for the professional
programmer to learn and use effectively. If you already understand the basic
concepts of object-oriented programming,
■ Secure: With
Java's secure feature it enables to develop virus-free, tamper-free systems.
Authentication techniques are based on public-key encryption.
■ Portable: You can compile a code on one machine and run it on
other machines this feature make java portable.
■ Object-oriented: Java is OO
because they provide capabilities such as encapsulation, inheritance, polymorphism, abstract data types, classes
■ Robust: Java makes
an effort to eliminate error prone situations by emphasizing mainly on compile
time error checking and run time checking.
■ Multithreaded: java supports multithreaded programming, which allows
you to write programs that do many things simultaneously.
■ Interpreted: Java is a compiled
programming language, but rather than compile straight to executable machine
code, it compiles to an intermediate binary form called JVM byte code. The byte
code is then compiled and interpreted to run the program.
■ High performance: With the
use of Just-In-Time compilers, Java enables high performance.
■ Distributed: Java is designed for the
distributed environment of the Internet, because it handles TCP/IP protocols.
■ Dynamic: Java is
considered to be more dynamic than C or C++ since it is designed to adapt to an
evolving environment. Java programs can carry extensive amount of run-time
information that can be used to verify and resolve accesses to objects on
run-time.
Tools you will
need run java program:
You will need the following
software:
·
Linux 7.1 or Windows xp/7/8 operating system.
·
Java JDK 8.
·
Microsoft Notepad or any other text editor.