Introduction to Java
Java is a high level
programming language developed by Sun Microsystems in 1995, later acquired by
Oracle Corporation. Java runs multiple platform supported such as Windows,
Linux, Mac OS and various systems. Java is an object- oriented programming
language, robust and secure.
Java is a
general-purpose computer programming language that is concurrent, class-based,
object-oriented, and specifically designed to have as few implementation
dependencies as possible.
Platform-: Any hardware or
software environment in which a program runs, is known as a platform. Java
provides cross-platform computer environment means write in a single platform
and run multiple platform.
Similarities-: Java is similar to
C++ and C++ is similar to C.
Types of Java Applications-:
Object-oriented programming (OOP) attempts to provide a model
for programming based on objects.
Platform independent: java is platform independent means
write once and runs anywhere. Basically java has two components
1. Runtime Environment
2. API(Application Programming
Secured -: Java does not use explicit pointer.
Robust-: Java uses strong memory management.
It does not use pointer. Here is automatic garbage collection.
Portable-: we can use or carry my code in any
platform because java use bytecode and its run any platform.
High- Performance-: Java is faster than other language.
Multi-threaded-: In java we can run many applications
or tasks within same time. For example we are using web application and also listening
Internal details-: In java when we write a program then what happens with java