JAVATECH NEWS

Java

CORE JAVA

Interview

OFF-CAMPUS

Friday 7 November 2014

Java Features

Features of java are-
->Simple
->Object-Oriented
->Distributed
->Robust
->System Independence
->Portability
->High Performance
->Multi threaded
->Scalability
->Dynamic
1.Simple:Java is Simple because some complex concept of C,C++ have been omitted from java.Eg:Concept of Pointer is omitted,which makes the programmers confuse.
2.Object Oriented:Java is called object oriented because it uses object and class.Everything in world that really exists and which can be distinguish from others is called object.Eg:pen,man,car etc.A group of object having same behaviour comes under a group called class.A class is a group name given to the several objects.Eg:Flower(Rose,Orchid,Champa,Lily objects comes under this class).
3.Distributed:Java is distributed because information can be shared over the distributed network.
4.Robust:Robust means strong,java is strong because of two points,One is it does not crash easily like C,C++,because it has the In built Exception handling capacity,Exceptions are error occurs in run time,java can handle these Exception by Exception Handler,Second is Sometime C,C++ programs crush in middle because of Not allocating sufficient memory or forgetting the memory to be freed in the program,this problem is overcome by Java,Java Virtual Machine(JVM) take care of memory management.Programmers does not allocate or de-allocate the memory in java.
5.Secure:Java is secure because security challenges like tampering,impersonation and virus can be eliminated and minimized in Java on Internet.
6.System Independence:Java byte code or class file are not machine dependent,we can run java code on any machine,any processor or in any OS.so its called WORA(Write Once Run Anywhere)
7.Portability:Java Programs gives the same result in every machine,the system independence feature is called portability.
8.Interpreted:Java codes are compiled to generate byte code,these code can be interpreted by interpreter in JVM.
9.High Performance:Problem with the interpreter inside the JVM is that it is slow,but it was overcome by using the JIT(Just in time) compiler,which increases the speed of the execution.So now in JVM both interpreter and JIT compiler work together to run the program.
10.Multithreaded:A thread represents individual process to execute group of statements.JVM uses several threads to execute different blocks of code.
11.ScalabiltyJava platform can be implemented on wide range of computer with varying range of resources.This is possible because of java's compact and plateform independent features.
12.Dynamic:Before java development web pages were static ,now its dynamic.

No comments:

Post a Comment

Designed By Blogger Templates