Professional Documents
Culture Documents
Object-Oriented Programming With JAVA
Object-Oriented Programming With JAVA
Chapter 1
Object-Oriented Programming
with JAVA Topics covered:
Introduction to JAVA
Primitive data types
Object & Class
Inheritance
Polymorphism
Chapter 1 – part 1
1 2
3 4
Chap 1 Introduction to JAVA Chap 1 Introduction to JAVA
5 6
7 8
Chap 1 Introduction to JAVA Chap 1 Introduction to JAVA
9 10
Advantages of JAVA :
Portability
Programs can be written and compiled once, then run
on different platforms
• Important for internet applications (applets)
Achieved by using:
Bytecode
• Produced when a Java program is compiled
Interpreter (Java Virtual Machine – JVM)
• Execution environment for bytecode on each platform
11 12
Chap 1 Introduction to JAVA Chap 1 Introduction to JAVA
13 14