CSCI 130 Classes and Objects.

Slides:



Advertisements
Similar presentations
When is Orientated Programming NOT? Mike Fitzpatrick.
Advertisements

IMS1805 Systems Analysis Topic 3: Doing Analysis (continued from previous weeks)
Unified Modeling Language
Object-Oriented Analysis and Design
Object Orientated Concepts. Overview  The world is objects  Defining an object  Not a function, it’s a method  Lets inherit want we can  Objects.
Object-Oriented Databases v OO systems associated with – graphical user interface (GUI) – powerful modeling techniques – advanced data management capabilities.
1 Basic Object-Oriented Concepts  Object-Oriented Paradigm What is an Object?  What is a Class?  Constructing Objects from a class Problem Solving in.
1 Introduction to C++ Programming Concept Basic C++ C++ Extension from C.
IMS1805 Systems Analysis Topic 3: Doing analysis (cont from last week)
Object Oriented Concepts. Movement toward Objects Instead of data-oriented or process-oriented Analysis, many firms are now moving to object-oriented.
1 Programming James King 12 August Aims Give overview of concepts addressed in Web based programming module Teach you enough Java to write simple.
Object Oriented Programming Development
© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott COMP6325 Advanced Web Technologies Dr. Paul Walcott The University.
BCS 2143 Introduction to Object Oriented and Software Development.
CONCEPTS OF OBJECT ORIENTED PROGRAMMING. Topics To Be Discussed………………………. Objects Classes Data Abstraction and Encapsulation Inheritance Polymorphism.
Two Approaches to System Development
11 Chapter 11 Object-Oriented Databases Database Systems: Design, Implementation, and Management 4th Edition Peter Rob & Carlos Coronel.
CIS 112 Exam Review. Exam Content 100 questions valued at 1 point each 100 questions valued at 1 point each 100 points total 100 points total 10 each.
CS 3050 Object-Oriented Analysis and Design. Objectives What is “Object-Oriented?” Object-Oriented Approach Vs. Structured Approach How Has the Object-Oriented.
Abstraction ADTs, Information Hiding and Encapsulation.
Domain Classes – Part 1.  Analyze Requirements as per Use Case Model  Domain Model (Conceptual Class Diagram)  Interaction (Sequence) Diagrams  System.
9-Dec Dec-15  INTRODUCTION.  FEATURES OF OOP.  ORGANIZATION OF DATA & FUNCTION IN OOP.  OOP’S DESIGN.
1 Programming 2 Aims Give overview of concepts addressed in Web based programming module Teach you enough Java to write simple web and network applications.
CSCI 171 Presentation 15 Introduction to Object–Oriented Programming (OOP) in C++
DBS201: Data Modeling. Agenda Data Modeling Types of Models Entity Relationship Model.
Object-oriented programming (OOP) is a programming paradigm using "objects" – data structures consisting of data fields and methods together with their.
Objectives Explain the purpose and various phases of the traditional systems development life cycle (SDLC) Explain when to use an adaptive approach to.
OOP - Object Oriented Programming
INTRODUCTION TO OBJECT-ORIENTED PROGRAMMING
Sachin Malhotra Saurabh Choudhary
OBJECT ORIENTED CONCEPT
Lecture 1 Introduction Richard Gesick.
Sections Basic Concepts of Programming
Object-Oriented Analysis and Design
Object-oriented software testing
Objects as a programming concept
Programming in Java Sachin Malhotra, Chairperson, PGDM-IT, IMS Ghaziabad Saurabh Chaudhary, Dean, Academics, IMS Ghaziabad.
The Object-Oriented Thought Process Chapter 1
Objectives State the reasons for the complexity involved in the development of software Define the following terms Objects Classes Messages Methods Explain.
OOP What is problem? Solution? OOP
Today in OOAD Today in Lab Review EU-Lease Assignment (Vision)
Object Oriented Programming
Object Oriented Concepts -I
IS442 Information Systems Engineering
Object Oriented Concepts
The Process of Object Modeling
Chapter 24 Testing Object-Oriented Applications
The Object-Oriented Thought Process Chapter 05
Introduction To System Analysis and Design PART 2
MSIS 670 Object-Oriented Software Engineering
Object-Oriented Programming
Object-Oriented Programming
Object Oriented Programming
SYS466 Domain Classes – Part 1.
Chapter 19 Testing Object-Oriented Applications
Abstraction in Object-Oriented Programming
Object-Oriented Programming
Object Orientated Programming
ITEC 3220A Using and Designing Database Systems
Chapter 19 Testing Object-Oriented Applications
Object-Oriented Programming
The Object-Oriented Thought Process Chapter 1
Generic Programming with Templates:
Object Oriented Analysis and Design
Understanding OOPs.
Object Oriented Programming(OOP)
The OOTP is intended to get you thinking about how OO concepts are used in designing object-oriented systems. Note: not talking about OO technologies that.
Chapter 20 Object-Oriented Concepts and Principles
Information system analysis and design
Introduction to Computer Science and Object-Oriented Programming
Presentation transcript:

CSCI 130 Classes and Objects

Classes Templates from which programmatic building blocks are constructed Model physical entities Have the ability to ‘construct’ instances of the templates Class contains: Attributes Behaviors

Example Write up the attributes and behaviors of a Car class

Objects Actual instance of a class In an object-oriented program objects interact with each other Objects may be constructed from other objects Black box concept Other objects don’t care how an object performs its tasks, only that it does perform them

Important OOP concepts The instances of each class have complete control over the accessibility of their attributes and behaviors as defined by the class Classes can be related in a hierarchical fashion from general to specific Some instances of classes have the ability to morph themselves into other (related) classes

Example Create a class hierarchy for all vehicle objects

Identifying Classes Done in design phase Most difficult part of OOP define, design, code, test, document Most difficult part of OOP must view entire system in OO terms good initial design leads to highly effective programming bad initial design leads to wasted time and effort