自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

翻译 [译]OOSE第5章:面向对象的程序设计 5.6 An example & 5.7 Summary

<br />5.6 An example<br />We shall here consider how we can use the classes from Chapter 3 to construct a whole game, where people interact with each other. The people involved are a father with his two sons, a woman and an anonymous person. We shall begin

2011-01-17 10:11:00 698 1

翻译 [译]OOSE第5章:面向对象的程序设计 5.5 Polymorphism

<br />5.5 Polymorphism<br />The algorithm discussed in the previous section shows clearly that the receiving instance is responsible for searching for and finding the appropriate operation to be executed. Polymorphism means that the transmitter of a stimul

2011-01-17 09:06:00 361

翻译 [译]OOSE第5章:面向对象的程序设计 5.4 Inheritance

<br />5.4 Inheritance<br />Inheritance means that we can develop a new class merely by stating how it differs from another, already existing class. The new class then inherits the existing class. The main advantage with this approach is that existing class

2011-01-17 09:00:00 550

翻译 [译]OOSE第5章:面向对象的程序设计 5.3 Classes and instances

<br />5.3 Classes and instances<br />In object-oriented languages, each object is described by a class. This class is both a module for source code and a type for the class instances. The programming language Ada comes close to this approach with the packa

2011-01-17 08:52:00 702 1

翻译 [译]OOSE第5章:面向对象的程序设计 5.2 对象

<br />5.2 OBJECT<br />5.2 对象<br />The most important concept that an object-oriented language must support is the object concept. Thus the language must support the definition of a set of operations for the object, namely the object's interface, and an imp

2011-01-17 08:40:00 486 4

翻译 [译]OOSE第5章:面向对象的程序设计 5.1 介绍

<br /><br />5.1 Introduction<br />5.1 介绍<br />Object-oriented programming essentially means programming using objects and the other concepts introduced in Chapter 3. In this chapter, we describe how the concepts are used in a programming language and how t

2011-01-17 08:36:00 476 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除