Blogger Information
Blog 14
fans 0
comment 0
visits 10001
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
类与对象操作总结 2018年8月29日作业
笨笨的博客
Original
531 people have browsed it

1、什么是类,什么是对象。并举例说明

答:类是对象的模板,对象是类的一个实例。比如:男生找女朋友,要求是:人,女的,活的,漂亮的。那么女的,活的,漂亮的人就是一个类。根据这一个类,找到的某一个人,比如范冰冰,就是一个对象。属于这一类的一个实例。

Correction status:unqualified

Teacher's comments:作业是没写完还是?
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post