Frage im Vorstellungsgespräch bei Tata Consultancy Services

Is Java really platform independent? I

Antworten zu Vorstellungsgespräch

Anonym

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

Anonym

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