what do you meant by Platform-Independent?
Answers were Sorted based on User's Feedback
Answer / ranganathkini
Platform Independance means, generating executable code
independant of the underlying software/hardware platform on
which the code is required to run.
Java uses the concept of a Virtual Machine to abstract the
underlying hardware/software and providing a standard
execution environment for all Java bytecode based programs.
| Is This Answer Correct ? | 12 Yes | 2 No |
Answer / rohit jadhav
Platform-independent means a code which's execution does
not depend on platform.
A code which can be executed on any platform is called a
platform-independent code.
When a java program is compiled the JVM creates a . class
file which contains a byte-code in it and this byte-code
can be executed on any platform.
| Is This Answer Correct ? | 13 Yes | 3 No |
Answer / gaurang damley
It means compile once and execute anywhere
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / ravikiran
Platform-Independent means the code should be capable to
run on any platform
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / vasanthakumari.s
Platform Independance means, generating executable code
independant of the underlying software/hardware platform on
which the code is required to run.
Java uses the concept of a Virtual Machine to abstract the
underlying hardware/software and providing a standard
execution environment for all Java bytecode based programs.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / priyanka adam
because after compilation of java program it generates byte
code which can run on any platform that's why it is platform
independent.. while JVM is platform specific.
| Is This Answer Correct ? | 1 Yes | 0 No |
What type of value does sizeof return?
When does a class need a virtual destructor?
How do generics work in java?
Explain the difference between abstract class and interface in java?
Why do we need hashset in java?
What are heap memory and stack memory and what are memory tables.
Is null a value?
Explain about narrowing conversion in java?
how would you implement a thread pool? : Java thread
What is the entry point in Java, and how is it written?
design an lru cache in java?
why java does compile time polymorphism at run time ?