Why Java is a platform independent language?Explain byte code
and JVM
Answer Posted / kabita
due to byte code and jvm java is platformindependent
language.as we know after compiling sourcecode it gives
java byte code.only jvm can execute bytecode and every os
(operating system) having their own jvm.so it is a
platformindependent language.jvm stands 4 java virtual
machine which executes the bytecode.bytecodes are the
intermediate language for jvm.
| Is This Answer Correct ? | 47 Yes | 6 No |
Post New Answer View All Answers
What is flatmap java?
How can I protect myself? : java security
What is entitymanager in java?
What is the first argument of the string array in main method?
Is jar an executable?
In a barber shop there are 2 doors. customer come in 1 door, leave in other. minimum # of chairs. barber spend his life in cutting. always barber can cut 1 customer. few chairs in the shop. if barber busy customer waits, if chairs full, customer leave. if no customer, barber sleeps. treat barber and customer as 2 threads. you can use Semaphore class with arrive and depart and count as parameter.
explain how java se 8 data and time api solves issues of old java date api?
Can we install jre without jdk?
Why are lambda functions called lambda?
Is lambda cheaper than ec2?
When do we go for java 8 stream api? Why do we need to use java 8 stream api in our projects?
What is interceptors in java?
Why is struts used in java?
What are struts java?
What is the front end for java?