CSDN博客

img Miracle04

TIJ swot_JAVA的初学者(二)

发表于2004/9/15 6:28:00  739人阅读

我只是个JAVA的初学者找了本英文书来看。这里主要是一些摘要,帮助自己记忆理解,放到BLOG里只是为了督促自己坚持下去。

对于觉得不相干的朋友表示道歉:)

如果大家有更好的学习方法,请赐教!非常感谢:)

1.2 An object has an interface

Aristotle

Simula, simulationlanguage

Class is a collection of objects, which has similar characteristic and behaviour.

Class is the type of objects. (ADT-abstract data type)

In object-oriented program, we create new data type using the exsting data type specific to our needs. The programming system gives them all the care and type-checking that it gives to built-in types.

Any program is a simulation of the system. But objet-oriented approach is not limited to building simulations. The use of OOP techniques can easily reduce a large set of problem to a simple solution. How?

One of the challenges of object-oriented programming is to create one-to-one mapping between the lements in the problem space and objects in the solution space.

All the requests that is the functions of an object or a certain type of object/class are defined by its interface, and the type is what determins the interface.

 

 

0 0

相关博文

我的热门文章

img
取 消
img