Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 2257 Page Views: 

What gives java it's "write once and run anywhere" nature?



Posted By: Avi Date: 9 November 2009 06:09:51 AM
 Answer:

All Java programs are compiled into class files that contain bytecodes. These byte codes can be run in any platform and hence java is said to be platform independent.


Posted By: eTechPlanet


Date: 9 November 2009 06:09:51 AM

This is something which can be termed as Platform-Independent. JVM compiles a java code to byte codes which is readable by JVM installed wherever.


Posted By: Johndecruse


Date: 17 February 2010 12:35:07 AM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image oVUuzi
Related Questions
Core Java : How can a constructor be call from another constructor ?

How can a constructor be call from another constructor ?

By using this() reference.
Category: Core Java Date: 11/4/2010 2:27:46 AM
Core Java : How is the difference between thread and process?

How is the difference between thread and process?

A process runs in its own address space. No two processes share their address space. Threads will ru....
Category: Core Java Date: 11/4/2010 1:43:50 AM
Core Java : What state does a thread enter When it is executing?

What state does a thread enter When it is executing?

The running state.
Category: Core Java Date: 11/4/2010 1:10:50 AM
Core Java : What is JAR file?

What is JAR file?

JAR(Java Archive) is a file format that enables you to bundle multiple files into a single archive f....
Category: Core Java Date: 11/4/2010 12:05:47 AM
Core Java : What is a task's priority and how is it used in scheduling?

What is a task's priority and how is it used in scheduling?

A task's priority is an integer value that identifies the relative order in which it should be execu....
Category: Core Java Date: 11/3/2010 11:53:53 PM