面向对象和基于对象的编程语言有什么区别?
JavaScript是面向对象还是基于?
解决方法
Wikipedia说:
In computer science,the term object-based has two different senses:
A somehow limited version of object-oriented programming,where one or more of the following restrictions applies: (a) There is no implicit inheritance,(b) there is no polymorphism,(c) only a very reduced subset of the available values are objects (typically the GUI components).
Prototype-based systems (that is,those based on “prototype” objects that are not instances of any class).
Javascript是基于对象的.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。