Overview and characteristics of Java.

 

Overview and characteristics of Java.

As we Know Java provides powerful features that make java a popular and widely used programming language. So below are the feature of java that contributes to making it more powerful.

Features os Java:

  • Simple.
  • object-oriented.
  • Platform Independent.
  • Robust.
  • Portable.
  • Distributed.
  • Secure.
  • Multithreaded.


Simple. object-oriented. Platform Independent. Robust. Portable. Distributed. Secure. Multithreaded.


1.Simple:

When an object of a class is created, memory need to be allocated. Later on, When the object is no longer required, the allocated memory of the object is released. In Java memory allocation and deallocation of objects done automatically. The process of deallocating memory is known as garbage collection.

2.Object-Oriented:

Java is an object-oriented language and it includes the various characteristics of an object-oriented programming language, Such as inheritance and polymorphism. In java, The full program code must be encapsulated in a single class entity. Even the most basic program in java must be written within a class. Moreover, Java uses objects to refer the real-world objects, Such as a game or a game player.

3.Platform Independent:

In Java, when you write error-free code, the compiler changes the program to a platform-independent code known as Bytecode. Thereafter, The Java Virtual Machine(JVM) interprets this bytecode into the machine code that can be run on that machine. Converting a Java program into bytecode makes a java program platform-independent because any computer installed with the JVM can interpret and run the bytecode.

4.Robust:

Java provides various characteristics such as memory management and exception handling, which makes it robust programming language. These guarantees that the java application runs securely and efficiently on a machine and do not crash a machine.

5.Portable:

Portability refers to the ability of a program that can be run on any platform without changing the source code of the program. The program developed on one computer can run on any computer system irrespective of any other operating system.

6.Distributed:

Java can be used for the development of those applications that can be distributed on different machines or on a different network, such as the internet. These applications can be used by multiple users from multiple machines in a network. For this purpose Java uses several internet protocols such as TCP/IP or HTTP.

7.Secure:

Java has built-in security features that ensures that a java program gains access to only those resources of a computer that are essential for its execution.

8.Multithreaded:

Java provides the concept of multithreading that allows a program to simultaneously execute multiple tasks by using threads. A thread is the smallest unit of execution in a java program.




Post a Comment

0 Comments