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 can we alter the data after creating a view
what are partial classes. Where is the entry point of partial classes.
How many processes can listen on a single TCP/IP port?
6.int x=10; float y=20; a=x%2=? b=y%2=?
what is programming language?
MOV.CB 007H,ADCON1 MOVE.CT 001H,_OPTION_REG_7 MOV.CB 007H,CMCON
Write a pseudo code to evaluate a number to any base given (2...16) based on the input. Number greater than 9 should be given as A-F for 10-15.
what is the difference between a namespace and assembly ?
differenc between visual studio 2005,2008 & 2010?
When you deliver your C++ headers and C++ library of a class (what all can you change in the class so that application using your class does not need to recompile the code)
How to swap two String values without using a third variable?
how to get second highest salary from a employee table and how get a 5th highest salary from a employee table by using proc sql?