Home TechnologyProgramming Subscribe to RSS

Why Java Is Called Both Compiled And Interpreted Language?

Answer Question

2 Answers - Sort by: Date | Rating

    A programming language whose programs are converted into an executable form before being executed is the Compiled programming language.
    That means Means implementations are typically compilers(translators which generate machine code from source code).
    Where An Interpreted Language is a programming language is such a language whose program can be executed from source form by an interpreter(step-by-step executors of source code, where no translation takes place).

    But Some interpreted languages are first compiled to some form of virtual machine code, which is then either interpreted or compiled at run-time to native code.
    As for Example Java.
    And this is the Reason for Java is considered as both!
    0 0

    Alon_nad  

    answered 4 months ago

      An Interpreted Language means that the source code written by the user is converted down into machine code (usually binary) to be compiled by a compiler. A compiler takes the binary code and transforms it into object form that Windows, Mac, or Linux can use, depending on the machine that the code was compiled on.

      Anyone who has the source code to a program can compile it for their machine because they can convert it to machine code. However, a compiled code can rarely, if ever, be converted back to its source code. It's a one way street.
      0 1

      Farkas  

      answered 3 years ago

        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