Pregunta de entrevista de Tata Consultancy Services

Is Java really platform independent? I

Respuestas de entrevistas

Anónimo

13 oct 2017

Yes java is really platform independent because java program can easily move from one machine to another. In another way we can say that java program work on any platform(os) without modifying the source code.

1

Anónimo

19 ene 2018

Yes, java is an platform independent because. ..when we compile .java file we get .class it contains byte code equivalent to source code. Byte code is machine independent. So we can run this byte code in any machin with "x" operating system and "y" processor. That's why java is platform independent. JVM is platform dependent