TIJ swot_JAVA的初学者(二)

王朝java/jsp·作者佚名  2006-01-09
窄屏简体版  字體: |||超大  

我只是个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.

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航