Why Java is called as purely platform independent..?
Explain briefly..dont Give regular answers
Explain with your own example..?

Answer Posted / himanshu daurby

ava is a platform independent programming language, Because when you install jdk software on your system then automatically JVM are installed on your system. For every operating system separate JVM is available which is capable to read the .class file or byte code. When we compile your Java code then .class file is generated by javac compiler these codes are readable by JVM and every operating system have its own JVM so JVM is platform dependent but due to JVM java language is become platform independent.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is object-oriented programming?

564


Which collection is best for sorting in java?

685


Explain the Propertie sof class?

582


Can java list be null?

543


What is a two-pass assembler?

600






Why lambda expression is used in java?

565


What are 3 boolean operators?

527


What is the difference between double and float variables in java?

629


Why do we need array in java?

526


Write a program to show whether a graph is a tree or not using adjacency matrix.

586


What are locale settings?

542


What is the static field modifier?

592


Is stringwriter thread safe?

547


How to use Media tracker Class.

640


How can we use primitive data types as objects?

553