Computer Science, asked by priyansh9999, 10 months ago

how is Java different from other programming languages​

Answers

Answered by sushiladevi4418
2

Answer:

Java different from other programming languages​.

Explanation:

1)  Programs written in Java are portable in nature.

The source code i.e. the .java file is compiled and converted into bytecode (highly optimized set of instructions). The bytecode can be run on any machine which has Java Virtual machine installed on it.

2) Java code is Robust.

A program written in java is said to be robust because it contains no references to external data i.e. it does not has any explicit pointers. While other programming languages like C++ and a few others contain pointers.

3) Java is Object-Oriented.

Creating an object of a class is creating an instance of a class. Java is Object-oriented i.e. it creates instances of each class which are copies of the class.

4) Java is easy to learn.

Java is easy to learn because it removes less-used and confusing features such as operator overloading, explicit pointers, etc.

5) Java is Secure.

Java provides high security because of its outstanding exception handling mechanism. The exception handling mechanism of Java is the best.

Answered by StaceeLichtenstein
2

The following are the difference between java and the other programming language given below:-

Explanation:

  • Java is a programming language is  high level and  secure with respect to other programming languages​
  • Java language is used for the default option for the engineering computing like as processing for the natural languages with respect to other programming languages.​
  • The key explanation for this is that it is free, compact, sustainable and it arrives at better competitive resources than C++ or indeed any language.

Learn more:-

  • brainly.in/question/3345
Similar questions