Chap1introduction To Java
Chap1introduction To Java
Chap1introduction To Java
Java is very easy to learn, and its syntax is simple, clean and easy to
understand. According to Sun Microsystem, Java language is a simple
programming language because:
Object-oriented
1. Object
2. Class
3. Inheritance
4. Polymorphism
5. Abstraction
6. Encapsulation
Platform Independent
Java is platform independent because it is different from other
languages like C, C++, etc. which are compiled into platform specific
machines while Java is a write once, run anywhere language. A
platform is the hardware or software environment in which a program
runs.
The Java platform differs from most other platforms in the sense that
it is a software-based platform that runs on top of other hardware-
based platforms. It has two components:
1. Runtime Environment
2. API(Application Programming Interface)
Secured
Java is best known for its security. With Java, we can develop virus-
free systems. Java is secured because:
o No explicit pointer
o Java Programs run inside a virtual machine sandbox
Robust
Architecture-neutral
Portable
High-performance
High-performance