Home TechnologyProgrammingJava Subscribe to RSS

Why Is Java Plat Form Independent?

Answer Question

2 Answers - Sort by: Date | Rating

    It means that Java compilers does not produce the native code for present operating system (or platform), but it produced special kind of code - 'byte code'. This code is s set of instructions for Java Virtual Machine so you need it in your system if you want to run programs written in Java. Of course the JVM (Java Virtual Machine) is not platform independend.
    In brief:
    Programs that have been written in Java one can run on any platform (Linux, Windows etc) without any changes if only there is a JVM
    2 0

    Baszkir1 

    answered 3 years ago

      Java does not require any kind of help of the opreating system it only requires JDK   which will compile and run the .class file
      of the code of java is same when  you sent to to other machine have different OS it wiil only require JDK to complile and run the application .Like other language requires the help of the OS to have the exe file if it send to other machine which is having different OS will have problem .
      the result of applicaton will be same on any OS whether Windows or Unix
      SO java does depend on the OS so it called as platform Independent.
      0 0

      Machomax 

      answered 3 years ago

        Answer Question - Answers are editable for 5 min.

        If you do not Sign-in or Register your answers will

        be anonymous, your answers may also be

        checked before going online.

        0

        More

           
           

          Ask a Question via Twitter

          Send a question to @askblurtit and we will publish it online and send you a reply everytime you receive an answer.

          Blurtit Store

          Get T-shirts, hoodies, caps and more at the Blurtit store

          Blurtit International