Object-Oriented Concepts Overview. Florida Community College at Jacksonville COP 2551 Object-Oriented Programming OO Concepts Overview Objective Overview.

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

1 OBJECT-ORIENTED CONCEPTS. 2 What is an object?  An object is a software entity that mirrors the real world in some way.  A software object in OOP.
1 G54PRG Programming Lecture 1 Amadeo Ascó Adam Moore 20 Object Oriented Theory II.
Object-Oriented PHP (1)
Object Oriented System Development with VB .NET
OOP in Java Nelson Padua-Perez Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
OBJECT ORIENTED ANALYSIS & DESIGN Vassilka Kirova Department of Computer & Information Science NJIT.
HST 952 Computing for Biomedical Scientists Lecture 2.
Principles of Object-oriented Programming Programming Language Paradigms August 26, 2002.
Chapter 13: Object-Oriented Programming
OOP in Java Fawzi Emad Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
2-1 © Prentice Hall, 2004 Chapter 2: Introduction to Object Orientation (Adapted) Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra,
ACM/JETT Workshop - August 4-5, Object-Oriented Basics & Design.
INTRODUCTION TO JAVA PROGRAMMING Chapter 1. What is Computer Programming?
C++ fundamentals.
CSC238 INTRODUCTION TO OOP Chapter 1.
BACS 287 Basics of Object-Oriented Programming 1.
Object Oriented Programming
What is Object-Oriented Programming?. Objects – Variables and Logic inside "Objects", not standalone code – Objects contain related variables and functions.
UFCEUS-20-2 : Web Programming Lecture 5 : Object Oriented PHP (1)
CSM-Java Programming-I Spring,2005 Introduction to Objects and Classes Lesson - 1.
Introduction to Object-oriented programming and software development Lecture 1.
MT311 Java Application Development and Programming Languages Li Tak Sing( 李德成 )
CSM-Java Programming-I Spring,2005 Objects and Classes Overview Lesson - 1.
OBJECT AND CLASES: THE BASIC CONCEPTS Pertemuan 8 Matakuliah: Konsep object-oriented Tahun: 2009.
An Object-Oriented Approach to Programming Logic and Design
OBJECT ORIENTED PROGRAMMING CONCEPTS ISC 560. Object-oriented Concepts  Objects – things names with nouns  Classes – classifications (groups) of similar.
CONCEPTS OF OBJECT ORIENTED PROGRAMMING. Topics To Be Discussed………………………. Objects Classes Data Abstraction and Encapsulation Inheritance Polymorphism.
The Software Development Life Cycle: An Overview Presented by Maxwell Drew and Dan Kaiser Southwest State University Computer Science Program.
Introduction to Object Oriented Programming. Object Oriented Programming Technique used to develop programs revolving around the real world entities In.
11 Chapter 11 Object-Oriented Databases Database Systems: Design, Implementation, and Management 4th Edition Peter Rob & Carlos Coronel.
Object-Oriented Programming (OOP) CSC-2071 (3+1=4 Credits) Lecture No. 1 MBY.
Chapter 6 Object-Oriented Java Script JavaScript, Third Edition.
Chapter 7 Objects and Classes 1 Fall 2012 CS2302: Programming Principles.
Object-Oriented Programming
Object-Oriented Programming. An object is anything that can be represented by data in a computer’s memory and manipulated by a computer program.
Object-Oriented Design Simple Program Design Third Edition A Step-by-Step Approach 11.
OBJECT-ORIENTED PROGRAMMING (OOP) WITH C++ Instructor: Dr. Hany H. Ammar Dept. of Electrical and Computer Engineering, WVU.
Basic OOP Concepts and Terms. In this class, we will cover: Objects and examples of different object types Classes and how they relate to objects Object.
Learners Support Publications Object Oriented Programming.
Abstraction ADTs, Information Hiding and Encapsulation.
CS451 - Lecture 2 1 CS451 Lecture 2: Introduction to Object Orientation Yugi Lee STB #555 (816) * Acknowledgement:
: Maha Sabri Altememe Lecturer : Maha Sabri Altememe Lecture :1 1.
Basic Concepts of Object Orientation Object-Oriented Analysis CIM2566 Bavy LI.
1 OOP - An Introduction ISQS 6337 John R. Durrett.
Inspired by the Oulipu. The 3 Tenets of OO Encapsulation Polymorphism Inheritance.
Java Web 应用开发: J2EE 和 Tomcat 蔡 剑, Ph.D.. 本讲内容 信息系统实施的基本概念 面向对象的程序开发 Java 技术综述.
Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A.
Object Oriented Programming Session # 03.  Abstraction: Process of forming of general and relevant information from a complex scenarios.  Encapsulation:
Basic Concepts of OOP.  Object-Oriented Programming (OOP) is a type of programming added to php5 that makes building complex, modular and reusable web.
Learning OOP in PHP. What is OOP? OOP stands for Object Oriented Programming. OOP is a programming paradigm wherein you create “objects” to work with.
OOPS CONCEPT.  OOPS  Benefits of OOPs  OOPs Principles  Class  Object Objectives.
Object-Oriented Paradigm (OOP) Course Code: SE 101 Lecture No. 1.
Programming Paradigms(Model) Two Paradigms: – Procedural Programming Paradigm – Object Oriented Paradigm Objective of OO approach is to eliminate some.
Sadegh Aliakbary Sharif University of Technology Fall 2010.
CSCE 240 – Intro to Software Engineering Lecture 3.
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.
6.0 Objects First with Java A Practical Introduction using BlueJ David J. Barnes Michael Kölling.
Object-oriented programming (OOP) is a programming paradigm using "objects" – data structures consisting of data fields and methods together with their.
Objects First with Java A Practical Introduction using BlueJ
Intro to OOP with Java, C. Thomas Wu CHAPTER 2 Introduction to OOP
Object Oriented Concepts -I
INTRODUCTION TO OBJECT-ORIENTED PROGRAMMING (OOP) & CONCEPTS
PRINCIPALES OF OBJECT ORIENTED PROGRAMMING
Types of Programming Languages
An Overview of Java.
Object Oriented Analysis and Design
Object-Oriented Programming
Object Oriented Programming(OOP)
Chapter 20 Object-Oriented Concepts and Principles
Presentation transcript:

Object-Oriented Concepts Overview

Florida Community College at Jacksonville COP 2551 Object-Oriented Programming OO Concepts Overview Objective Overview of Object Orientation Object Attributes and Operations Difference between an object and a class 3 basic Object-oriented principles (Encapsulation, Inheritance and Polymorphism) Reference: Thinking in Java (Bruce Eckel) Free 2 of 10 slides

Florida Community College at Jacksonville Examples of Objects Use an online store (such as amazon.com) as an example, the following things may consider as Objects: Book Customer Order 3 of 10 slides COP 2551 Object-Oriented Programming OO Concepts Overview

Florida Community College at Jacksonville Object Attributes and Operations Attributes know something (Attributes are often data, like order ID and customer ID for an Order object. Attributes can also be another object, such as the entire Customer object rather than just the customer ID. Operations do something with what the attributes know, (Operations can be actions that the object does, often affecting its attributes.) 4 of 10 slides COP 2551 Object-Oriented Programming OO Concepts Overview

Florida Community College at Jacksonville Difference Between Object And Class A class is how you define an object. Classes are descriptive categories or templates. Book could be a class. Objects are unique instances of classes. This Java Certification book that costs $59.99 with item ID B is an object of the Book class. 5 of 10 slides COP 2551 Object-Oriented Programming OO Concepts Overview

Florida Community College at Jacksonville Difference Between Object And Class (continue) The attributes and operations defined by a class are for its objects, not for itself. There is no concrete realization of the class Book, but there are Book objects, i.e. a class is a logical construct, an object has physical reality. A class can be compared to a blueprint. Imagine you are in charge of building a housing development, with one housing blueprint. Each house in a development is shaped the same way, but some have brick or aluminum siding, some have custom paint colors inside and some are just white, and so on. 6 of 10 slides COP 2551 Object-Oriented Programming OO Concepts Overview

Florida Community College at Jacksonville Object-oriented Principle – Encapsulation Encapsulation is the mechanism that binds together the code and the data it manipulates, and keeps both safe from outside interference and misuse. 7 of 10 slides A Class Private variables and methods Public variables and methods Public variables is not recommended COP 2551 Object-Oriented Programming OO Concepts Overview

Florida Community College at Jacksonville Object-oriented Principle - Inheritance Inheritance is the process by which one object acquires the properties of another object. By use of inheritance, an object need only define all of its characteristics that make it unique within its class, it can inherit its general attributes from its parent. 8 of 10 slides Account CheckingMortgageLoan COP 2551 Object-Oriented Programming OO Concepts Overview

Florida Community College at Jacksonville Object-oriented Principle – Polymorphism Polymorphism(from Greek, meaning“many forms”) is a feature that allows one interface to be used for a general class of actions, i.e. one interface, multiple methods. Example: Account.calculateInterest() 9 of 10 slides COP 2551 Object-Oriented Programming OO Concepts Overview