抽象和封装之间的区别? [英] Difference between abstraction and encapsulation?

查看:72
本文介绍了抽象和封装之间的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

抽象和封装有什么区别?

任何人都可以给我一个例子???

What is difference between abstraction and encapsulation?
can anyone provide me a example???

推荐答案

对不起,这是如此毫无意义!



如果这是一个学校测试问题,请退出这所学校并起诉他们进行教育欺诈,如果可以的话。它与知识无关。如果这是一个面试问题,请考虑你很幸运,你没有与白痴一起工作。



如果这个问题的完全无效的字符不明显,请阅读我过去的答案:

什么是编程中的类和封装之间的区别 [ ^ ]。



要了解有效问题,请参阅以下讨论:

如何提出一个好问题? [ ^ ]。



如果您愿意对此回复进行投票,有时会发生此类回复案件,欢迎你。但我希望你不愿意加入一小群白痴。毕竟,想想谁会更宽松。



我希望所有最好的和真正的知识,而不是多项选择测试伪教育的伪造。



干杯,

-SA
Sorry, this is so pointless!

If this is a school test question, quit this school and sue them for educational fraud, if you can. It has nothing to do with knowledge. If this is an interview question, consider you lucky that you are not working with idiots.

If totally invalid character of this question is no obvious, please read my past answer:
what is the difference between the class and encapsulation in programming[^].

To learn about valid questions, please see this discussion:
How to ask a good question?[^].

If you are willing to down-vote this reply, which sometimes happens in such cases, you are welcome. But I hope you are not willing to join the small group of morons. After all, think who would be the looser.

I wish all the best and real knowledge, not the fakery of multiple-choice tests pseudo-education.

Cheers,
—SA


没有什么比谷歌更好的了

Google
Nothing better then Google for this
Google


读取此内容:



http://www-numi.fnal.gov/computing/d120/releases/R2.1 /WebDocs/Companion/cxx_crib/abstraction.html [ ^ ]



http://www.techbaba.com/q /2071-difference+abstraction+encapsulation.aspx [ ^ ]



http://www.roseindia.net/answers/viewqa/Java-Beginners/7471-Encapsulation-VS-Abstraction.html [ ^ ]
read this:

http://www-numi.fnal.gov/computing/d120/releases/R2.1/WebDocs/Companion/cxx_crib/abstraction.html[^]

http://www.techbaba.com/q/2071-difference+abstraction+encapsulation.aspx[^]

http://www.roseindia.net/answers/viewqa/Java-Beginners/7471-Encapsulation-VS-Abstraction.html[^]


这篇关于抽象和封装之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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