Sollicitatievraag bij Tata Consultancy Services

Is Java really platform independent? I

Antwoorden op sollicitatievragen

Anoniem

13 okt 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

Anoniem

19 jan 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