面向对象编程(OOP) [英] Object-oriented programming (OOP)

查看:66
本文介绍了面向对象编程(OOP)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果你是一个程序员来自一种基于对象以及Java,C ++或其他编程语言的编程语言,如果可以选择制作程序和类型的Oop,例如Enkapsulasi,继承和Polimorfism,方法你会选择哪个?



给我原因和一种类型的Oop之间的区别,你选择其他类型的Oop!



我尝试了什么:



如果您使用的是基于一种编程语言的程序员对象以及Java,C ++或其他,如果有选择制作程序和类型的Oop,如Enkapsulasi,继承和Polimorfism,你会选择哪些方法?



给我原因和一种类型的Oop之间的区别,你选择其他类型的Oop!

if you're in a programmers from one programming language based on objects as well as Java, C ++ or another, if given the choice to make the program and type of Oop, such as Enkapsulasi, Inheritance and Polimorfism, methods which would you choose?

Give me the reason and the difference between one type of Oop, you pick to the type of Oop the others!

What I have tried:

if you're in a programmers from one programming language based on objects as well as Java, C ++ or another, if given the choice to make the program and type of Oop, such as Enkapsulasi, Inheritance and Polimorfism, methods which would you choose?

Give me the reason and the difference between one type of Oop, you pick to the type of Oop the others!

推荐答案

每个支柱 OOP 有其原因。您通常不会选择,例如继承 polimorphism 。相反,你是做我们 e 继承 polimorphism

如果你这样困惑,你最好学习一些关于 OOP 的介绍性材料。
Each of the pillars of OOP has its reason(s). You usually don't choose between, for instance, inheritance an polimorphism. You, instead, do use inheritance and polimorphism as appropriate.
If you are confused such a way, you'd better study some introductive material on OOP.


答案是 - QA不是进行编程讨论的地方。使用网站上存在的各种论坛。
The answer is - QA is not the place to have programming discussions. Use the various forums that exist on the site.


这篇关于面向对象编程(OOP)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆