Platform Independency in Java

Previous
Next

What type of applications we can develop using programming languages?

This image has an empty alt attribute; its file name is Apps_Languages.png

Platform dependency:

  • C, C++ languages are Platform dependent languages.
  • Using Platform dependent languages, we can develop only Standalone applications.
  • Compiler Converts the Source code into Specific OS understandable instructions. Hence the compiled code is compatible for Same OS to run
This image has an empty alt attribute; its file name is C_Platform_Dependency.png

Platform Independency:

  • Java is the Platform independent language.
  • Java compiler plays key role in independency.
  • C-compiler is platform dependent; hence it generates only a specific OS understandable instruction set.
  • Java compiler is dependent to JVM (virtual OS), hence it generates, JVM understandable instructions.
  • JVM instructions once again interpreted by JIT into a specific OS understandable instructions.
Previous
Next

Add Comment

Courses Enquiry Form