Introduction To OOP
Introduction To OOP
using Java
1
What is Programming
else.
So, we need to send the instruction in the form of
0, 1
⚫ Do you write program with just 0 and 1?
Evolution of Programming
Machine level programming
⚫ Send instruction in binary format
Assembly Programming
⚫ send code instead of binary code.
⚫ Need assembler to convert to binary
High level programming
⚫ Code is close to English Language
⚫ Need Compiler to convert to binary
⚫ 3 types
Non structured
Structured/Procedural
⚫ c:>java HelloWorld
It runs java byte code on native machine
Java IDE
Creating, Compiling, Debugging and Execution for these
four steps J D K is not user friendly. I D E is provided for
that. A list of IDEs are:
⚫ Eclipse
⚫ Netbeans.
⚫ IntelliJ I D EA
Yo u c a n i n s t a l l I n t e l l i J I D EA u s i n g t h e t u t o r i a l
h t t p s : / / yo u t u . b e / E M LTO M d I z 4 w ? s i = z 0 9 e f 0 t o m G E a 1 R r j
An Example – Hello World
class
The name of the file should be the name of
class
If the class name contains multiple words then