Ch3 - EE 322C Data Structures Chapter 3:Objects and Classes...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Ramesh Yerraballi 3-1 EE 322C Data Structures Chapter 3:Objects and Classes
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Ramesh Yerraballi 3-2 Information Hiding An object is a data type with structure and state Atomicity principle Encapsulation Grouping of data and the operations that apply to them, forming an aggregate, while hiding the internal implementation Object-oriented Programming
Background image of page 2
Ramesh Yerraballi 3-3 OO Concepts Code Re-Use Generic Code : write your code generically so that it works on any type: E.g., Sorting an array of objects is independent of the type of objects as long as these objects are comparable Inheritance : Extend functionality to enhance or restrict properties of the original type Polymorhism Definition : Is the ability of objects to respond to method calls of the same name, each once according to an appropriate type- specific behavior It lets us: o treat derived objects just like the parent objects o use an operator or method in different ways for different set of inputs(overloading)
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/27/2008 for the course EE 322C taught by Professor Nettles during the Spring '08 term at University of Texas.

Page1 / 8

Ch3 - EE 322C Data Structures Chapter 3:Objects and Classes...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online