Computer science Object-Oriented Programming. Overview There are several words that are important: class object instance field property method event.

Slides:



Advertisements
Similar presentations
1 VBScript Session What we learn last session?
Advertisements

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide STARTING OUT WITH Visual Basic 2008 FOURTH EDITION Tony Gaddis.
AP Computer Science A – Healdsburg High School 1 Unit 3 - Classes and Objects - Example.
AA high level programming language. IIt is created by Microsoft. UUses a graphical environment called the Integrated Development Environment (IDE).
Lecture 2 Basics of C#. Members of a Class A field is a variable of any type that is declared directly in a class. Fields are members of their containing.
Chapter 10 THINKING IN OBJECTS 1 Object Oriented programming Instructor: Dr. Essam H. Houssein.
Classes & Objects Computer Science I Last updated 9/30/10.
Modularity. Methods & Class as program unit A method is comprised of statement sequences and is often viewed as the smallest program unit to be considered.
Syntax & terminology review While the following slides are not exactly what we did on the board (object diagrams are not shown here) they cover most of.
Object-Based Design/Programming An Informal Introduction and Overview CS340100, NTHU Yoshi.
Events and Interrupts. Overview  What is an Event?  Examples of Events  Polling  Interrupts  Sample Timer Interrupt example.
OOP in Java Nelson Padua-Perez Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
Basic OOP Concepts and Terms
Evan Korth New York University Computer Science I Classes and Objects Professor: Evan Korth New York University.
Designing a Database Unleashing the Power of Relational Database Design.
Introduction to Alice Basics : What is Alice? Object Oriented Definitions What Does it Look Like? Where Can I Use it?
Fall 2007CSE 115/503 Introduction to Computer Science for Majors I1 Announcements Attendance sheet is going around – be sure you sign it! First part of.
Fall 2007CSE 115/503 Introduction to Computer Science for Majors I1 End of Week Five! Questions? First part of essay assignment (choosing a topic) is posted.
OOP in Java Fawzi Emad Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
Sharif University of Technology Session # 7.  Contents  Systems Analysis and Design  Planning the approach  Asking questions and collecting data 
BACS 287 Basics of Object-Oriented Programming 1.
Neal Stublen Overview of.NET Windows Applications Microsoft Windows OS / Intel Platform Windows Application File SystemNetworkDisplay.
Tutorial 11 Using and Writing Visual Basic for Applications Code
8 Copyright © 2009, Oracle. All rights reserved. Using Process Flows.
Visual Programming Fall 2012 – FUUAST Topic: Development environment.
Teacher: Ms. Olifer MICROSOFT VISUAL STUDIO 2010: PROPERTIES OF WINDOWS FORM OBJECT.
CS200 Algorithms and Data StructuresColorado State University Part 4. Advanced Java Topics Instructor: Sangmi Pallickara
Chapter 7 Objects and Classes 1 Fall 2012 CS2302: Programming Principles.
Advanced Object- Oriented Programming Programming Right from the Start with Visual Basic.NET 1/e 14.
IT 21103/41103 System Analysis & Design. Chapter 05 Object Modeling.
Chapter Eleven Classes and Objects Programming with Microsoft Visual Basic th Edition.
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.
Observer design pattern A closer look at INotifyPropertyChanged, INotifyPropertyChanging and ObservableCollection Observer design pattern1.
Programming with Microsoft Visual Basic 2012 Chapter 11: Classes and Objects.
1.
Introduction to visual programming C#. Learning Outcomes In this chapter, you will learn about :  Event-Based Programming  The Event Based Model  Application.
02/14/2005 Introduction to Programming with Java, for Beginners Midterm 1 Review.
Visual Basic for Application - Microsoft Access 2003 Programming applications using Objects.
Introduction to Object-Oriented Programming Lesson 2.
Microsoft Visual Basic 2008: Reloaded Third Edition Chapter One An Introduction to Visual Basic 2008.
Clearly Visual Basic: Programming with Visual Basic 2008 Chapter 27 I Love this Class.
CITA 342 Section 1 Object Oriented Programming (OOP)
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design Second Edition by Tony Gaddis.
Object-Oriented Concepts Overview. Florida Community College at Jacksonville COP 2551 Object-Oriented Programming OO Concepts Overview Objective Overview.
AUTOMATIC CONTROL THEORY II Slovak University of Technology Faculty of Material Science and Technology in Trnava.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design Second Edition by Tony Gaddis.
CPS120: Introduction to Computer Science Lecture 16A Object-Oriented Concepts.
Class Diagrams, MVC and Design Patterns CS153P Session 4.
PeopleCode and the Component Processor
Chapter 5 – System Modeling Lecture 1 1Chapter 5 System modeling.
Computer Programming II Lecture 5. Introduction to Object Oriented Programming (OOP) - There are two common programming methods : procedural programming.
Object-oriented programming (OOP) is a programming paradigm using "objects" – data structures consisting of data fields and methods together with their.
Introduction to OO Programming Andy Wang Object Oriented Programming in C++ COP 3330.
Object-Orientated Programming
Understand the Fundamentals of Classes
Objects as a programming concept
Table of Contents Class Objects.
Road Map Introduction to object oriented programming. Classes
Disaster Management.
فصل نهم از کتاب طراحی آموزشی تألیف :آر.ام گانیه
Contract Manager and Contract Renew Utility
© A+ Computer Science - OOP © A+ Computer Science -
Welcome back to Software Development!
© A+ Computer Science - OOP Pieces © A+ Computer Science -
Classes and Objects VB.net.
CIS16 Application Development and Programming using Visual Basic.net
Basic OOP Concepts and Terms
Welcome back to Software Development!
Classes, Objects and Methods
Ch. 1 Vocabulary Alice.
Presentation transcript:

Computer science Object-Oriented Programming

Overview There are several words that are important: class object instance field property method event

Class and object “You must define a class before you can create an object” Class is a blueprint, from which you can create objects. It defines a characteristic of an object, such as the data that the object contain and the operations that the object can perform. Object is an instance of a class. If a class is a blueprint of an object, an object is what is created from that blueprint.

Instance and Field “instance” – often used as an alternative to object. Field is a class member that represents a piece of data that the class needs to fulfill its design. Typically defined as private members in a class, to prevent the fields from being accessed directly from outside the class.

Property, method and event Property is a flexible mechanism to read write or compute the values of a field. Method comprise a code block and represents an action that object or class can perform. Event indicates something has happened to an object or class. Event provide a notification mechanism that enables observes in the application to respond to event ad perform appropriate event-handling operations.

About Some of the definitions are from a course 499A by Microsoft Learning. Copyright (C) Microsoft This presentation is made by Artem Los