After compilation of java program we'll get .class code. If
it's generated in OS Windows XP will it work on OS Linux? If
yes why? If no why?
Answer Posted / anjan singh
Whenever you compile a java code, a bytecode is generated
(i.e. class file). This bytecode can be interpreted by JVM.
So any machine with any platform(i.e.OS) that has JVM on it
can interprete this bytecode or class file.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are actual parameters?
which one is more efficient int x; 1. if(x==null) 2.if(null==x) state which one either 1 or 2?
I want to persist data of objects for later use. What is the best approach to do so?
How do you read and print a string in java?
Is binary a low level language?
Can we use String with switch case?
Where is the singleton class used?
Can I use % with real numbers?
What are the core java topics?
when a request is generated from apache tomcat 5.5 and goes to oracle 10g or mysql,,, how the oracle or mysql reads the request as apache is a web server and oracle 10g is application server? when the oracle 10g provides response, how the apche tomcat reads it???
What is bubble sort in java?
Explain the concept of proper inheritance?
What is object data type?
Write a program in java to create a doubly linked list containing n nodes.
Is map sorted in java?