General discussion

Locked

Java

By gnag78 ·
Why java is platform Independent?

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Java

by RealGem In reply to Java

The platform-specifics are hidden under the language, sort like the meat in a sandwich. Java is the top layer of bread.

Collapse -

Java

by gnag78 In reply to Java

The question was auto-closed by TechRepublic

Collapse -

Java

by tcarrico In reply to Java

Well, I am not a fan of JAVA, nor do I consider myself an expert on it. I will try and explain my understanding of it.

If you question is "what makes it platform independent" the answer is the JVM (Java Virtual Machine), and Byte code. JAVA is compiled into Byte code, and the JVM runs the "code". Each platform that is to "host" JAVA has a JVM written for it. The JVM provides a "Translator" between the generic Byte code and the Operating system.

If you question is "Why did SUN make it platform independent" then you would have to ask them. I am sure they had several reasons.

tc

Collapse -

Java

by gnag78 In reply to Java

The question was auto-closed by TechRepublic

Collapse -

Java

by gnag78 In reply to Java

This question was auto closed due to inactivity

Back to IT Employment Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums