Is JAVA platform independent and why?

Asked: Anonymously | Category: JAVA

JAVA is a platform independent language. As JAVA uses Bytecode, which makes a program easier to be executed on almost all platforms. The JAVA compiler compiles codes into Bytecode which further can be executed by JVM i.e. Java Virtual Machine. JVMs with different configuration runs the Bytecode on any platform, thus making JAVA platform independent.

6 views0 comments

Recent Posts

See All

Calculate BMI in Java | AskTheCode

Write a Java program that reads values for weight in kilograms and height in centimeters and prints out the BMI... interpretation of it...

"Believe you can and you're halfway there"