Intro of JAVA
Java is object-oriented programming language.It can be easily extended since it is a object base model.Everything in Java is object based. Basic concept of OOPs are:
Other languages(C/C++)need compiler or interpretor to convert high level language to low level.But Java use both.Program run in Java in 2 stages-
a.) Compiler convert Java program(code)into byte code or class file or intermediate code which is machine independent.
b.)In second stage Interpretor convert this byte code into real machine code. Inside interpretor JVM(Java virtual machine) is present which which interpret byte code according to platform.
Java is platform independent i.e.Write Once Run Anywhere.Platform is the enviroment in which an application runs. In other words,it is combination of operating system and a CPU.For eg.Window 8+Intel-corei5.There are 2 types of platform to run application.
Another important feature of Java is security.Reason for its security are-
Java is designed to be easy to learn.Its syntax is same as of C++.But removal of certain aspects of programming like does't has pointer and overloading.
In languages like c/c++ has dynamic memory i.e programmer has to allocate/deallocate variables memory using new or delete operator.But Java uses automatic garbage collection feature where JVM itself deallocate any dynamic memory which our program allocate.
Multithreading is a process in which program is divide into several small parts called threads that are run concurrently.Each thread shares a common memory area.This type of feature is essential in multimedia like application.