GithubHelp home page GithubHelp logo

data_structure's Introduction

数据结构和算法的学习记录

目录

展开

用于记录所学内容,目标是一天一个算法问题(flag)

flag还是用来打破的,以后少自立flag ╮(╯▽╰)╭

  • 2019/3/4 完全忘了这个flag -_-! 希望以后不会忘了
  • 2019/3/7 - 2019/3/9 一些原因没法使用电脑,GG
  • 2019/3/14 哦吼...
  • 2019/3/17 准备考个证...这里先暂停吧...复习到相关的东西时会记载下来
  • 2019/4/28 时间隔的有点长,存了不少需要记录的知识点,慢慢写文档~
  • 2019/6/15 最近经过几场面试,发现了不少问题,曾经很简单的东西也忘了不少,现在记录一下,哎~ 人类的记忆能力和现在电脑存储能力差的不是一点半点

问个问题,什么叫面向对象?

谢邀

面向对象(Object-Oriented, OO) = 对象(object)+ 分类(Classification)+ 继承(Inheritance)+ 通过消息的通信(Communication with Message)

这是 Peter Coad 和 Edward Yourdon 这俩人说的,不是我说的。

面向对象的三大特性:

  1. 封装 隐藏对象的属性和实现细节,仅对外提供公共访问方式,将变化隔离,便于使用,提高复用性和安全性。
  2. 继承 提高代码复用性;继承是多态的前提。
  3. 多态 父类或接口定义的引用变量可以指向子类或具体实现类的实例对象。提高了程序的拓展性。

别人的回答:简书-什么是面向对象(OOP)

data_structure's People

Contributors

canyoufindit avatar

Stargazers

ppmac avatar Li Xipeng avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.