what do you meant by Platform-Independent in Java?
Answers were Sorted based on User's Feedback
Answer / rohit kumar
Platform independent means the Bytecode generated by javac
can b used to run on any different machine i.e Bytecode is
independent of Operating system .For example if u hav
written n compiled a java prog on Win Xp then u can run the
bytecode on any other os havin jvm like linux,macintosh
that's wat u called platform independence
So ULTIMATELY BYTECODE IS PLATFORM INDEPENDENT..........
Is This Answer Correct ? | 66 Yes | 4 No |
Answer / priya
Because after compiling java programs, it creates .class
file.We can only copy this file to other machine so that
program can be executed.So java is called platform
independant.
Is This Answer Correct ? | 28 Yes | 8 No |
Answer / ramesh
the byte code which is generated after compilation can run
on any proceesor.thats why it is platform independent.
Is This Answer Correct ? | 11 Yes | 2 No |
Answer / kanchan
java is platform independant becouse "write once and run
everywhere" feature is used in java.
Is This Answer Correct ? | 11 Yes | 7 No |
Answer / divyanshi shrivastava
Its a platform independent , have file can be run under any os nd everywhere .which has JVM hence .hence its platform inde. But JVM is platform dependent..
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / durgaprasad
java is platform indepedent because,the file created after compilation ie..EXE file can be run under any OS, which has JVM (java virtual machine)hence java is platform independent, but JVM is platform Dependent.
Is This Answer Correct ? | 4 Yes | 7 No |
how many types of bytes are there???
major characteristics of software system
how to fin top two miximum values in sql? not 2nd both max value of 1st and 2nd both have to find out
Which tag is used to break a line
Full from of MP3?
public static void main(String args[]) describe it
you have a computer with 80GB hard disk and ubuntu 8.04 is installed on entire hard disk.now you have to create a seprate partition for windows OS and install win XP as dual boot.write down the steps involved along with the commands
1 Answers Anand Group, Indian Navy, TCS,
what is software
Question:Why is mapping required? Computer 'Paging' & 'Segmentation'. Question:Give the disadvantages of Havander's Strategies. Question: What do you mean by Belady's Anomaly. - Describe with example. Question: Discuss the various function of OS. Question: Give a brief discussion on schedulers & Dispatchers with respect to process management.
Given an array all of whose elements are positive numbers, find the maximum sum of a subsequence with the constraint that no 2 numbers in the sequence should be adjacent in the array. So 3 2 7 10 should return 13 (sum of 3 and 10) or 3 2 5 10 7 should return 15 (sum of 3, 5 and 7)
what is difference between restoring and non restoring division?
Given an array of size n+1 which contains all the numbers from 1 to n.Find the number which is repeated in O(n) time.How do you proceed with the same with floating numbers from 0 to 1 instead of 1 to n?