纯面向对象和面向对象语言的区别 [英] Difference between pure object oriented and object oriented language
问题描述
这两者有什么区别.我用谷歌搜索但找不到满意的答案.例如,java是一个oop(面向对象编程)但不是纯oop(在某些网站上写的).有人可以解释一下吗?
What is difference between these two.I google it down but could not find the satisfied answer.For example java is a oop(Object oriented programming) but not pure oop(was written on some sites).Can anybody explain?
推荐答案
Java 是 oop 但不是纯的,因为 Java 中有原始数据类型,如 int、float 等,它们不是类/对象.这只是 Java 不是纯 OOP 的一个原因.例如纯 OOP .Objective C 是纯 OOP 语言,一切事物都以对象的形式存在.
Java is oop but not pure because, There are Primitive data type in java like int, float etc. and they are not classes/Objects. This is only one reason that java is not Pure OOP. For example of Pure OOP . Objective C is Pure OOP language in which every thing is in the form of object.
这篇关于纯面向对象和面向对象语言的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!