• TestingDocs
TestingDocs.com
Software Testing website
  • Automation
    • Selenium
    • JBehave Framework
  • Tutorials
    • MySQL Tutorials
    • Testlink
    • Maven
    • Git
  • IDEs
    • IntelliJ IDEA
    • Eclipse
  • Flowcharts
    • Flowgorithm
    • Raptor
  • About

Java Tutorials

Java Platform Independent Language

Overview

The important feature of Java programming language is platform independence. Java is referred to as a “platform independent programming language” because of its ability to run on different platforms without requiring modifications to the program source code.

Platform Independent Language

A platform is the environment in which the application runs. A platform is a combination of the operating system and the device hardware. Platform independence is different from Portability.

The portability feature allows programs written for a particular platform to run on other platforms with minimum changes.

JVM

Java code is compiled into bytecode, which is a platform-independent representation of the Java program. The bytecode is executed by the JVM(Java Virtual Machine), which is specific to each underlying target platform. As long as the JVM is installed on the target platform, the bytecode can be executed without any changes to the code.

WORA

This feature allows a Java application that is compiled on one platform to run on any other platform. This feature is also called as WORA(Write Once, Run Anywhere).

The principle of “Write Once, Run Anywhere” is key to Java’s platform independence. It means that you can write Java code on one platform (for example, on Windows) and run it on any other platform like Linux, macOS, etc without modification, as long as the JVM is available.

—

Java Tutorials

Java Tutorial on this website:

https://www.testingdocs.com/java-tutorial/

For more information on Java, visit the official website :

https://www.oracle.com/java/

Related Posts

Java Performance

Java Tutorials /

Improving Java Performance with Multithreading

Download Greenfoot Windows

Java Tutorials /

Download & Install Greenfoot on Windows

Java Tutorials /

Java Static Code Analysis

Java Tutorials /

Java Testing Tools

Java Tutorials /

Handle Multiple Exceptions in Java

‹ Java Programming Language Features› Java Interpreter

Recent Posts

  • How to secure your SQL Database: Tips and Tricks
  • Shaping the Future of Development: Exploring Key Trends in Software Engineering
  • Improving Java Performance with Multithreading
  • Difference between PHP and JavaScript?
  • Bing Conversation Styles
  • ChatGPT Introduction
  • Open Source AI Frameworks
  • Artificial Intelligence Tools
  • Top AI Music Applications
  • Top AI Website Design Tools

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com