Introduction Java
Introduction Java
Introduction:
Java platform first released by sun microsystems in 1995 by James Gosling along
with his team.
There is a phrase for java (i.e) “Write once, Run anywhere”. It means that compile
java code can run on all platforms that support java without the need for
recompilation.
Java Applications:
Retail: billing applications that you see in a store or restaurant are completely written
in java.
Android: android applications are either written in java or use Java API.
There are so many other applications using java still. Java is an ocean of
opportunities.
Java Features:
1. Simple: java is easy to learn. No complex topics like pointers, operators overloading etc.,
where you can see in c, c++ or other programming languages.
2. Portable: java is platform independent which means java applications written on one
platform and can easily ported to another platform.
4. Secured: All the java code is converted in bytecode after complication, which is not
readable by a human.
5. Dynamic: Java has dynamic memory allocation feature due to which memory wastage is
reduced and performance of the application is increased.
6. Distributed: By using Remote Method Invocation (RMI), a program can invoke a method
of another program across a network and get the output.
7. Robust: Java has a strong memory management system. It helps in eliminating error as it
checks the code during compile and run time. Java must execute reliably in a variety of
systems.
8. High performance: It can be achieved through the use of bytecode which can be easily
translated into native machine code.
10. Multi-threaded: Java was designed to meet the real world requirement of creating
interactive, networked programs. To accomplish this, Java supports multi-threaded
programming, which allows you to write programs that do many things simultaneously.
Java Components
3. JDK (Java Development Kit): It is the tool necessary to compile, document and package
java programs. The JDK completely includes JRE which contains tools for programmers.
The development kit is provided free of charge. Along with JRE, it includes an
interpreter/loader, a complier, an archiver, a documentation generator and other tools
needed in java development.
It has the unique ability to combine innovation with stability (any code that was
written way back during the beginning of java will still run on today’s faster and
better JVMs).
Java is everywhere(demand).
Java applications.