开发者交流平台
开发者交流平台

通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。

bj
登录
  • 友情链接
站内
polymorphism

polymorphism

go

C++继承:指向基类的指针能够访问派生类的成员吗?

英文: c++ inheritance: can a pointer to a base class access members of the derived class? 问题 给定一个基类 Sh...
huangapple 2023年3月9日201评论c++ inheritance
go

在销毁派生对象时,调用子类和父类析构函数会出现问题吗?

英文: Are there any issues from both the child and parent destructors being called when a derived obje...
huangapple 2023年3月1日219评论c++ inheritance
go

unique_ptr在使用基类时的析构函数序列

英文: sequence of destructors when using unique_ptr to base class 问题 我正在尝试使用std::unique_ptr和类继承(即多态性)。...
huangapple 2023年2月27日138评论c++ polymorphism
go

构造函数在对象创建时打印文本。

英文: Constructor prints text when object is created 问题 我在一个C#控制台应用程序中工作,正在学习面向对象编程。首先,我有一个Person类, cl...
huangapple 2023年2月19日139评论c# oop
go

多态性是指在Ruby中,当我的类具有固定的父类时。

英文: Polymorphism when my class has a fixed parent class in Ruby 问题 我有一个设计问题,无法想出一个优雅的解决方案。我正在编写一个后台作...
huangapple 2023年2月10日132评论design-patterns ruby
go

Ruby on Rails ActiveRecord单表继承具有一个到超类的关联。

英文: Ruby on Rails ActiveRecord Single Table Inheritance has_one to superclass 问题 I have a Base class...
huangapple 2023年2月8日116评论ruby ruby-on-rails
go

继承的方法是否使用超类或子类的可见性、方法和属性?

英文: Do inherited methods use the visibility, methods and attributes of the superclass or subclass? 问...
huangapple 2023年2月8日132评论class java
go

如何在动态创建对象时使Delphi调用正确的构造函数?

英文: How to make Delphi call correct constructor during dynamic creating? 问题 我有问题,似乎在动态创建时调用了不正确的构造函数...
huangapple 2023年2月6日119评论constructor delphi
go

inheritance and polymorphism together in golang, are possible?

英文: inheritance and polymorphism together in golang, are possible? 问题 这个问题来自我需要将一个工作中的C++程序逻辑移植到gola...
huangapple 2023年2月3日147评论go inheritance
go

Is there an interface that can be used as a parameter in a method for T[] (an array of type T) and for List<T>

英文: Is there an interface that can be used as a parameter in a method for T[] (an array of type T) a...
huangapple 2023年1月9日157评论arrays c#
9

文章导航

1 2 3 4 5 6 7 … 9
name
开发者交流平台
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
文章117266 留言 4 访客17042851

热门标签

json flutter arrays android javascript spring-boot html typescript spring c++ c# java r css sql reactjs go python pandas node.js

悟已往之不谏,知来者之可追!

今日
00%
已00小时
本周
00%
已过00天
本月
00%
已过00天
今年
00%
已是00月

Copyright ©  开发者交流平台 版权所有.

闽 ICP 备 2022019110 号 - 1
  • 开发者交流平台

    本页二维码