12 Jan 2017

Waht are the Features of Java..??

The main basic features of java Every programmer must know the basic feature of java are:

Simple: Java is simple programming language rather than saying that this is one of the feature of java.When java is developed, they wanted it to be simple because it has to work on electronic devices, where less memory is available.

The question arises how Java is made simple? First of all, the difficult concept of c and c++ are omitted(छोड़े गए ) in Java. One of the concept  in C and C++ is Pointer, which is very difficult for learners and programmers, has been eliminated in Java. The second thing is Java developer maintained the same syntax as C and C++ in Java, so that a person who knows C and C++ can learn easily Java.

Object-oriented: Java is an Object-oriented programming language. This means Java programs uses Objects and classes.

Distributed: Information is distributed on various computers on a network. Using Java, we can write programs, which capture information and distribute it to the clients. This is possible because Java can handle the protocols like TCP/IP and UDP.

Robust(Strong): Java programs are strong and they don't crash easily like C or C++ program. This is due to two main reasons :

  1.            Java has excellent exception handling features.
  2.            Memory management feature 
Secure: Security problems like eavesdropping, tampering, impersonation, and virus threats can be easily destroyed . There are basic problems like :

Portability:  If a program shows same result on every different computers then that program is called Portability .

System Independence: Java's byte code is not machine dependent. It can be run on any machine , any Operating System, any Processor without any problem. That is why it is also called portable programming language.

Interpreted: Both compiler and Interpreter is used to execute program compiler is for compile the program into a class file then it is run using interpreter in JVM (Java Virtual Machine). But in other language only one compiler or interpreter is used to execute the program.

Multi-threaded: A thread represents an individual process to execute a group of statements. JVM uses several threads to execute different blocks of code.Because of multiple threaded is used in java it is called multi threaded

High Performance: The interpreter inside the JVM is very slow to execute  programs , So that is why Java Soft people have introduced JIT(Just In Time) compiler, which enhances the speed of execution.Both are working for high speed performance Interpreter and JIT.

Dynamic: Using of java we can animate the text using java applet, but before this only static text is used to be displayed in the browser. 






No comments:

Post a Comment