Object Oriented Programming(OOP)

Slides:



Advertisements
Similar presentations
Understand and appreciate Object Oriented Programming (OOP) Objects are self-contained modules or subroutines that contain data as well as the functions.
Advertisements

OOP Abstraction Classes Class Members: Properties & Methods Instance (object) Encapsulation Interfaces Inheritance Composition Polymorphism Using Inheritance.
Department of Computer Engineering Faculty of Engineering, Prince of Songkla University 1 5 – Abstract Data Types.
Overview1 History of Programming Languages n Machine languages n Assembly languages n High-level languages – Procedure-oriented – Object-oriented/Event-driven.
C++ Training Datascope Lawrence D’Antonio Lecture 3 An Overview of C++
C++ fundamentals.
CSC238 INTRODUCTION TO OOP Chapter 1.
CPT 140 Programming Constructs1 OBJECT ORIENTED TECHNOLOGY Terminology and Basic Concepts.
1 INTRODUCTION TO OOP Objective: Know the difference between functional programming and OOP Know basic terminology in OOP Know the importance of OOP Know.
Object Orientation An Object oriented approach views systems and programs as a collection of interacting objects. An object is a thing in a computer system.
An Object-Oriented Approach to Programming Logic and Design
CONCEPTS OF OBJECT ORIENTED PROGRAMMING. Topics To Be Discussed………………………. Objects Classes Data Abstraction and Encapsulation Inheritance Polymorphism.
Introduction to Object Oriented Programming. Object Oriented Programming Technique used to develop programs revolving around the real world entities In.
© S Ramakrishnan, Monash University oops1.ppt 1 Object-Oriented Programming Systems SFT3021 Semester Lecturer: Sita Ramakrishnan
Object-Oriented Programming (OOP) CSC-2071 (3+1=4 Credits) Lecture No. 1 MBY.
Web Scripting [PHP] CIS166AE Wednesdays 6:00pm – 9:50pm Rob Loy.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 24P. 1Winter Quarter C++ Lecture 24.
Object-Oriented Programming
OBJECT-ORIENTED PROGRAMMING (OOP) WITH C++ Instructor: Dr. Hany H. Ammar Dept. of Electrical and Computer Engineering, WVU.
OOP: Encapsulation,Abstraction & Polymorphism. What is Encapsulation Described as a protective barrier that prevents the code and data being randomly.
C++ Programming Basic Learning Prepared By The Smartpath Information systems
Learners Support Publications Object Oriented Programming.
: Maha Sabri Altememe Lecturer : Maha Sabri Altememe Lecture :1 1.
9-Dec Dec-15  INTRODUCTION.  FEATURES OF OOP.  ORGANIZATION OF DATA & FUNCTION IN OOP.  OOP’S DESIGN.
Basic Concepts of Object Orientation Object-Oriented Analysis CIM2566 Bavy LI.
1 OOP - An Introduction ISQS 6337 John R. Durrett.
“everything is an object”. Class Template Code for defining an object Objects are created with NEW keyword (method) Namespace – (disambiguation) Context.
What is Java? Object Oriented Programming Language Sun Microsystems “Write Once, Run Everywhere” Bytecode and Virtual Machine Java Platform (Java VM and.
OOP’ S IN J AVA Presented By: Asst. Prof. Navjeet Kaur Computer Department Govt College Ropar.
Basic Concepts of OOP.  Object-Oriented Programming (OOP) is a type of programming added to php5 that makes building complex, modular and reusable web.
OOPS CONCEPT.  OOPS  Benefits of OOPs  OOPs Principles  Class  Object Objectives.
Question 1 Which of the following requires object database technology? A. Storing employee picture on disk B. Retrieving an employee picture C. Retrieving.
Lecture 2 Intro. To Software Engineering and Object-Oriented Programming (2/2)
Exceptions and Handling
Programming Paradigms(Model) Two Paradigms: – Procedural Programming Paradigm – Object Oriented Paradigm Objective of OO approach is to eliminate some.
COMPUTER SCIENCE & TECHNOLOGY DEGREE PROGRAMME FACULTY OF SCIENCE & TECHNOLOGY UNIVERSITY OF UVA WELLASSA ‏ Properties of Object Oriented Programming.
Object means a real word entity such as pen, chair, table etc. Object-Oriented Programming is a methodology or paradigm to design a program using classes.
Chapter 11: Abstract Data Types Lecture # 17. Chapter 11 Topics The Concept of Abstraction Advantages of Abstract Data Types Design Issues for Abstract.
Object-oriented programming (OOP) is a programming paradigm using "objects" – data structures consisting of data fields and methods together with their.
 The Object Oriented concepts was evolved for solving complex problems. Object- oriented software development started in the 1980s. Object-oriented design.
Object-Oriented Programming
Programming Paradigms
Sachin Malhotra Saurabh Choudhary
JAVA By Waqas.
Intro to OOP with Java, C. Thomas Wu CHAPTER 2 Introduction to OOP
Unit-1 JAVA Programming.
Object-Oriented Analysis and Design
Programming in Java Sachin Malhotra, Chairperson, PGDM-IT, IMS Ghaziabad Saurabh Chaudhary, Dean, Academics, IMS Ghaziabad.
OOP What is problem? Solution? OOP
Object Oriented Concepts -I
INTRODUCTION TO OBJECT-ORIENTED PROGRAMMING (OOP) & CONCEPTS
INTRODUCTION TO OOP Objective:
PRINCIPALES OF OBJECT ORIENTED PROGRAMMING
Object Oriented Concepts
SNSCT_CSE_PROGRAMMING PARADIGM_CS206
Chapter 7 Classes & Objects.
Object Oriented Analysis and Design
C# Object Oriented Programming Concepts
Chapter 9 Classes & Objects.
Object-Oriented Programming
Lesson Objectives Aims Key Words:
Object Oriented Programming
Principles of object – oriented programming UNIT-1 Chapter-1.
Object Oriented Programming
By Rajanikanth B OOP Concepts By Rajanikanth B
Programming Paradigms
Object Oriented Analysis and Design
Object-Oriented Programming
Chapter 11 Class Inheritance
The Object Paradigm Classes – Templates for creating objects
Presentation transcript:

Object Oriented Programming(OOP) Use Objects and Classes Program designing is more simple in OOP Dynamic Portable Multithreaded

Basic concept of OOP 1- Class 2- Object 3- Inheritance 4- Abstraction 5- Polymorphism 6- Encapsulation

Object Class Object is anything from real world like, Mobile , car ,pen , etc. Every object have some functionality and attributes. Class Class is a template for object. Class contain object behavior and attribute. Object is a instance of class.

Example of Class and Object Color Price Model Object attributes Class Car Object Object Behaviors Run Use Fuel

Inheritance One object acquires the properties of another object. Hierarchical Parents And Child relation. Example Class A Class B

Abstraction and Polymorphism Abstraction hide inner detail of any function from user . Polymorphism allow us to declare different method with same name. Reduce complexity. Method Overloading

Encapsulation Save data from external interference. Encapsulate data in a capsule Binds Data Protective wrapper that prevents the code and data from being arbitrarily accessed by other code. Attribute and methods

Furqan Rustam The Islamia University of Bahawalpur