TIJ swot_JAVA的初学者(二)

我只是个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
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值