Introduction to Object Oriented Programming Concepts

Only available on StudyMode
  • Download(s) : 225
  • Published : June 8, 2011
Open Document
Text Preview
Unit 4: Introduction to Object Oriented Programming Concepts Student Name
Principles of Information Technology IT50-1101D    
David Reed Ph.D., PMP
17th, May 2011

Table of Contents
Unit 4: Introduction to Object Oriented Programming Concepts4
Programing Assignment5


Object-oriented programming (OOP) is a programming paradigm using "objects" – data structures consisting of data fields and methods together with their interactions – to design applications and computer programs. Programming techniques may include features such as data abstraction, encapsulation, messaging, modularity, polymorphism, and inheritance. Many modern programming languages now support OOP. OOP was developed to increase the reusability and maintainability of source code. Unit 4: Introduction to Object Oriented Programming Concepts

Object Oriented Programming, models the way people think about and deal with the world. In the tradition styles of programming, a sequence of instructions were used to perform a computer task called out in a program. Object-oriented programming uses objects. These objects have behaviors, hold information, and can interact with objects in one or more classes (Farrell, 2011). When you perform an action on a graphical component you generate an event. In event-driven programming the program responds to events. The program responds to events that the user generates in interacting with graphical user interface (GUI) components. A GUI represents the information and actions available to a user through graphical icons and visual indicators such as secondary notation, as opposed to text-based interfaces, typed command labels or text navigation (Farrell, 2011).

Programing Assignment
Design a class named pizza. Data fields include a string field for toppings (such as pepperoni) and numeric fields for diameter in inches (such as 12) and price (such as 13.99). Include methods to get and set values for each of these...
tracking img