Tuesday, November 22, 2016

types of java language - Java Language Define

What is a language: Language is way of communication,

What is language: Language is way of communication,types of java language

Two types of languages
    1.       Natural Language
    2.       Artificial Language

   1.       Natural Language: Those languages which we speak, just like human language. What is a language
   2.       Artificial Language: Those languages which create by human, Just like Math, Painting, Computer programming languages (Java, C++, Object C, C# etc.).types of java language

Two Level Of languages - types of java language

   1.       Low level: This language is close to machine language, good example of Low level language is Binary language. Or zero, one language. (0,1).
Example: Low Level is not understood by human. Its zero and one form

   2.       Middle Level:  This language is understand by human and also machine, because middle level language use middleware or translator. 
Example: Java, C++, C.

   3.       High level: This level language is use code In English format. No need translator
Example: Python, Perl, Ruby.types of java language


We will focus on Middle level languages, so let us learn,
What is Translator? types of java language

Convert English written Code into Bye code, and byte code is understandable by Machine.
Type of Translator
   1.       Compiler
   2.       Interpreter

   1.       What is compiler: Check errors from from code and convert into byte code.
Example: Compiler in use in C++ and C Language.
   2.       What is Interpreter: Check errors line by line from code and convert into byte code
Example: Interpreter is used in Java.types of java language

No comments:

Post a Comment