day2 object and class

today i learn object and class. sir told as the an object is an fundamental concept in object oriented programming (oop).
*it represent a real-world entity

*state (attributes or properties).
*behavior (method or function).
*object consumes some memory space.

CLASS
*class is a template or blueprint
*they are logical entities
*we can create a class only once
*it does not occupy any memory space.

this are the topic today we learn in your class and the class suction so good. and our sir taken the class was good for as to study.

原文链接:day2 object and class

© 版权声明
THE END
喜欢就支持一下吧
点赞7 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容