正在加载图片...
上游充通大 ParisTech SHANGHAI JIAO TONG UNIVERSITY INSTITUT DES SCIENCES ET TECHNOLOGIES PARIS INSTITUTE OF TECHNOLOGY Review of Objects Using objects is a techniques for structuring the data that our programs use. o So far,our programs have made use of objects created from pre-defined class such as circle. An object was defined as an active data type that knows stuff and can do stuff. More precisely,an object consists of: 1.A collection of related information. 2.A set of operations to manipulate that information. 3Review of Objects • Using objects is a techniques for structuring the data that our programs use. • So far, our programs have made use of objects created from pre-defined class such as Circle. • An object was defined as an active data type that knows stuff and can do stuff. • More precisely, an object consists of: 1. A collection of related information. 2. A set of operations to manipulate that information. 3
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有