Breaking

Wednesday 27 March 2019

Feature Of Java | Java Tutoriyal | Java Feature


Feature Of Java

The essential target of Java programming language creation was to make it versatile, basic and secure programming language. Aside from this, there are likewise some incredible highlights which assume a critical job in the fame of this language. The highlights of Java are otherwise called java popular expressions.



A rundown of most vital highlights of Java language is given underneath.
  1. Simple
  2. Object-Oriented
  3. Portable
  4. Platform independent
  5. Secured
  6. Robust
  7. Architecture neutral
  8. Interpreted
  9. High Performance
  10. Multithreaded
  11. Distributed
  12. Dynamic

Simple



Java is exceptionally simple to learn, and its grammar is basic, spotless and straightforward. As per Sun, Java language is a straightforward programming language on the grounds that:

·         Java punctuation depends on C++ (so less demanding for software engineers to learn it after C++).

·         Java has expelled many muddled and once in a while utilized highlights, for instance, express pointers, administrator over-burdening, and so on.

·         There is no compelling reason to evacuate unreferenced objects on the grounds that there is an Automatic Garbage Collection in Java.

Object-oriented

Java is an article situated programming language. Everything in Java is an item. Article arranged methods we sort out our product as a mix of various kinds of items that joins the two information and conduct.



Item arranged programming (OOPs) is a philosophy that streamlines programming improvement and upkeep by giving a few guidelines.

Fundamental ideas of OOPs are:

  1. Object
  2. Class
  3. Inheritance
  4. Polymorphism
  5. Abstraction
  6. Encapsulation

Plateform Independent


Java is stage free since it is not quite the same as different dialects like C, C++, and so forth which are assembled into stage explicit machines while Java is a compose once, run anyplace language. A stage is the equipment or programming condition in which a program runs.

There are two kinds of stages programming based and equipment based. Java gives a product based stage.

The Java stage contrasts from most different stages as in it is a product put together stage that keeps running with respect to the highest point of other equipment based stages. It has two parts:
  1. Runtime Environment
  2. API(Application Programming Interface)


Java code can be run on multiple platforms, for example, Windows, Linux, Sun Solaris, Mac/OS, etc. Java code is compiled by the compiler and converted into bytecode. This bytecode is a platform-independent code because it can be run on multiple platforms, i.e., Write Once and Run Anywhere(WORA).

Secured

Java is best known for its security. With Java, we can develop virus-free systems. Java is secured because:
  • No explicit pointer
  • Java Programs run inside a virtual machine sandbox
  • Classloader: Classloader in Java is a part of the Java Runtime Environment(JRE) which is used to load Java classes into the Java Virtual Machine dynamically. It adds security by separating the package for the classes of the local file system from those that are imported from network sources.
  • Bytecode Verifier: It checks the code fragments for illegal code that can violate access right to objects.
  • Security Manager: It determines what resources a class can access such as reading and writing to the local disk.
Java language provides these securities by default. Some security can also be provided by an application developer explicitly through SSL, JAAS, Cryptography, etc.

Robust


Robust simply means strong. Java is robust because:
  • It uses strong memory management.
  • There is a lack of pointers that avoids security problems.
  • There is automatic garbage collection in java which runs on the Java Virtual Machine to get rid of objects which are not being used by a Java application anymore.
  • There are exception handling and the type checking mechanism in Java. All these points make Java robust.

Architecture-neutral

Java is design unbiased in light of the fact that there are no usage subordinate highlights, for instance, the extent of crude kinds is fixed.


In C programming, int information type involves 2 bytes of memory for 32-bit engineering and 4 bytes of memory for 64-bit design. Be that as it may, it possesses 4 bytes of memory for both 32 and 64-bit structures in Java.

Portable

Java is portable because it facilitates you to carry the Java bytecode to any platform. It doesn't require any implementation.

High- performance

Java is quicker than other customary translated programming dialects since Java bytecode is "close" to local code. It is still a tad slower than an arranged language (e.g., C++). Java is a translated language that is the reason it is slower than aggregated dialects, e.g., C, C++, and so on.

Distributed


Java is disseminated on the grounds that it encourages clients to make appropriated applications in Java. RMI and EJB are utilized for making conveyed applications. This element of Java makes us ready to get to documents by calling the strategies from any machine on the web.

Multi-threaded

A string resembles a different program, executing simultaneously. We can compose Java programs that manage numerous assignments on the double by characterizing different strings. The fundamental preferred standpoint of multi-stringing is that it doesn't involve memory for each string. It shares a typical memory territory. Strings are vital for multi-media, Web applications, and so forth.

Dynamic

Java is a dynamic language. It supports dynamic loading of classes. It means classes are loaded on demand. It also supports functions from its native languages, i.e., C and C++.
Java supports dynamic compilation and automatic memory management (garbage collection).





1 comment:

  1. Nice and very useful article for java begginers. Java is trending language and your articles are easy to understand. Everything is clearly explained.
    https://www.exltech.in/java-training.html

    ReplyDelete