Wednesday, 24 January 2018

Features of Java

Object-Oriented :object is mother class of java. In java   everything  is  an Object and it supports OOPS concepts.

Platform independent: Java is platform independent so it runs on different operating system like windows, Linux, UNIX etc.

Simple: Java is easy to learn and easy to understand .it removes ambiguity concepts of C++ like Pointers and Operator Overloading. So it is very simple.

Secure : Java is more secure compared to other languages. It supports encapsulation which provides security.

Architectural-neutral : Java programs are compiled into byte-code format which does not depend on any machine architecture but can be easily translated into a specific machine by a Java Virtual Machine (JVM) for that machine. There are no implementation dependent features. Everything related to storage is predefined, example: size of primitive data types.

 Portable : Programs written on one platform can run on any other platform without having to rewrite or recompile them. In other words, it follows 'Write-once-run-anywhere' approach.

   Robust : Robust means strongest. Java uses automatic garbage collector  and    exception handling .It will automatically deallocate the memory space if the     object is not in used. There is no pointer concepts in java so no ambiguity. 

   Multi-threaded : It is possible to write programs that can do many tasks   simultaneously. This design feature allows developers to construct interactive   applications.

  High Performance :With the use of Just-In-Time compilers Java enables high     performance. Java byte code is converted into native code .So as comparison to    c  and c++, its performance is faster.

   Distributed :We can create distributed applications using RMI and EJB.

   Dynamic : Java is considered to be more dynamic than C or C++.We can      make it dynamic Using jsp, servlets, hibernate, and spring technology.
   
   

No comments:

Post a Comment

apply function in R

1) apply function: It takes 3 arguments matrix,margin and function.. Example: m<-matrix(c(1,2,3,4),nrow=2,ncol=2) m #1 indicates it is ap...