答案可以给出单行与现实生活中的例子 [英] Answer can given single line with real life example

查看:90
本文介绍了答案可以给出单行与现实生活中的例子的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

1。什么是抽象?

2.什么是继承?

1. what is Abstraction ?
2. what is Inheritance ?

推荐答案

我假设你想学习面向对象的编程?

然后请阅读此

对象简介面向对象的编程概念(OOP)和更多 [ ^ ]
I assume you want to learn object oriented programming?
Then please read this
Introduction to Object Oriented Programming Concepts (OOP) and More[^]


抽象和继承是两个不同的概念。它们彼此不相关而且不相似。抽象是隐藏外部单词中不相关数据的一种方式,而继承是OOP的一个非常强大的特性。继承可以在不修改该对象的情况下向现有对象添加某些功能。您可以扩展对象的功能。
Abstraction and Inheritence are two different concepts. They are not relevant each other and not similar. Abstraction is a way of hiding irrelevant data from the outer word while inheritence is one of the very strong feature of OOPs. Inheritence is something where you can add some feature to an existing object without modifying that object. You can extend the functionality of an object.


这篇关于答案可以给出单行与现实生活中的例子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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