3 Day Core Java Classes
3 Day Core Java Classes
*imp
define Program?(Syllabus)
=>program is a set-of-Instructions.
i
Note:
thi
=>After writing program,we have to save the program with language
extention.
ipa
Ex:
Test.c
Test.cpp
Ma
Test.java
sh
---------------------------------------------------------
ate
Stages of Program:
1.Compilation
2.Execution
Ve
1.Compilation:
=>C and C++ Programs will generate Objective Code and Java
2.Execution:
i
=>The process of running Compiled codes and checking the required
thi
output is generated or not,is known as Execution process.
ipa
"loading and linking" process is perfomed and Objective Code
Ma
converted into Executable code and generate result.
Diagram:
nk
Ve
i
thi
ipa
======================================================
faq:
Ma
wt is the diff b/w
sh
(i)Objective Code
ate
(ii)Byte Code
nk
(i)Objective Code:
Ve
as Objective Code
on other PlatForms
Note:
i
=>c and c++ languages which are generating Objective Code are
thi
PlatForm dependent languages.
----------------------------------------------------------
ipa
(ii)Byte Code:
Ma
=>The Compiled Code generated from Java Programs is known as
Byte Code.
Advantage:
nk
Note:
independent language
Diagram:
i
thi
ipa
Ma
sh
ate
=============================================================
nk
Ve