Why Java is a platform independent language?Explain byte code
and JVM
Answer Posted / sandeep negi
byte code is an intermediate code for java in the form of hexadecimal ,which is compiled code of java compiler and same
for all o\s.after compilation all machine or o\s have own java virtual machine translate the byte code into machine code. so we can say that java is a platform independent language.
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is ehcache in java?
What is a flatmap?
What is java ioc?
What are java’s rules regarding tabs, spaces and newline characters?
What is lambda expressions action func and predicate?
Can optional be null?
What is jpa implementation?
What is messaging queue in java?
What is the content reside in Use case Document?
Can I use openjdk for commercial?
What is a pojo class in java?
What is cmp in java?
Explain the common use of ejb?
there are 67 seats in train . there are only 5 seats in a row and in last row there are only 2 seats. One person can reseve only 5 seat at a time. If person reserving seat , the care is atken that he may get all in row. if seats are not available in row then the arrangement is so that person group get nearby seats. the following class is given public class seat { char name; int seat; boolean isSeatempty } 1.Draw require class digram and object diagram. 2.Write function seatallot(int noofperson) to allocate seat with seat nuber printed for the each name.
What is a yaml file in java?