Sections
*SoftWare Language
*Interpreter VS Compiler
* Java as platform independent
SoftWare Language
the programming language divided into 5 Generation langauge related to appraoch of computer system & human related
1st GL: like bianry code (1,0)
2nd GL: like Assembly
3rd GL:high level language like Java,C#
4th GL: quary language like SQL
5th GL: Artificial language like prolog
*Interprter:(المترجم) like in some conferences each one of the audience has one like interpreter to interprete the words
in other words : the interpreter interprte each instruction (instruction by instruction)
Compiler : convert to machine laguage that the computer can inderstood it
C or Java ----->compiler --------> low level(machine language)
for whole the unit of the program
*what is the meaning of platform ?
platform:is combination of the H.W + S.W(Processor + O.S)
like X86 + windowsxp or
java is platform independent the meaning of this is not depend on the platform
the C is plat form dependent to introduce that
code C ---->compiler ------>file .exe -----> interprter
the java
------>windows+X86
code Java ---->compiler ---->Byte Code ---->JVM ------>solaris+SPARK
Byte Code: like machine code
JVM : java virtual machine (convert byte code to any platform)
so the java is platform independent beacuse of JVM
To talk about JVM we must introduce the knowledge about JDK , JRE
JDK:Java development kit
Consists of
1-JRE
2- compiler
JRE: Java runtime Enviroment
consists of
1-JVM
2-interpreter
API(Application Programming Interface)
it is library contains alot of classes & interfaces
like GUI(grafical user Interface)

No comments:
Post a Comment