OOPR Topic 1-2 Introduction to Java-1
OOPR Topic 1-2 Introduction to Java-1
To successfully define:
• What is programming
• Programming languages
• Programming Paradigms
• Object Oriented Programming
Languages
•Language is a means of
communication, which
bridges barriers between
individuals and enables
exchange of ideas and
feelings.
•To communicate with each
other we use languages.
Languages (contd…)
Likewise, to communicate
with the computers, we use a
variety of languages known as
programming languages.
Programming
•The intention of this course is to teach you how to
program! You will learn how to give a computer a
sequence of instructions to perform a task.
programm
ing
language? A programming language
has a strict syntax or set of
rules that determine the
structure of the language.
What is a programming language?
Programmin
For example:
1. Procedural programming
2. Object-oriented programming
3. Functional programming
4. Event-driven programming
Object-Oriented Programming (OOP) is a popular way of writing
code because it helps us organize things better and make
programs easier to manage.
✅ A student
Each object has properties (what it has) and actions (what it can
do).
Imagine a Car as an object in programming.
It has:
✅ We created two objects (car1 and car2) from the same class Car.
✅ Even though both come from the Car class, they have different states.
Two circle
objects
Summary