when there is a need of jvm then how we can say that java
is a platform independent language?
Answers were Sorted based on User's Feedback
Answer / vatsal doshi
JVM is actually a virtual machine, which operates at one level of abstraction above the actual platform.
Platform = OS + Underlying Hardware
Now, Java compiled code(byte code) is targetted to run on JVM, independent of underlying actual platform.
So, Java code written on windows can be directly run on linux/mac/solaris, without recompilation, provided JVM is installed in the target machine.
We have different implementations of JVM for different platforms. The advantage is that though JVM is platform dependent, but the compiled code now becomes platform independent.
| Is This Answer Correct ? | 17 Yes | 0 No |
Answer / bala
each OS has its own configuration for external resources
like connecting to a network accessing external memory, RMI
etc, so each OS has its own JVM to achieve this...
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / venkat
jvm is used to convert into an machinery language
| Is This Answer Correct ? | 0 Yes | 4 No |
how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT
How is abstraction implemented in java ?
What is Applet Stub Interface ?
What is a ternary operator in java? What is an interface?
Can an anonymous class be declared as implementing an interface and extending a class?
What is basic syntax?
What is the Layout for ToolBar?
What is super?
Do we need to manually write Copy Constructor?
What are access modifiers in Java ?
What about static nested classes in java?
What is string substring?