ãããã¦èª°å¾ãªã¨ã³ããªã§ããã ãC++ã§ã¯åæåã¯å¿ ããåºåºã¯ã©ã¹âæ´¾çã¯ã©ã¹ãã®é ã«è¡ããããã¨æ¨æ¥ã®ã¨ã³ããªã§æ¸ãã¾ããããããã§ãªãè¨èªãããã¨ãã話ã æåãªã®ãDelphi Delphiã§ã¯ãå ã«æ´¾çã¯ã©ã¹ã®ã³ã³ã¹ãã©ã¯ã¿ãå¼ã³åºããã¾ããå ãã¦åºåºã¯ã©ã¹ã®ã³ã³ã¹ãã©ã¯ã¿ã¯èªåçã«ã¯å¼ã³åºããã¾ãããæ´¾çã¯ã©ã¹ã®ã³ã³ã¹ãã©ã¯ã¿ããæ示çã«å¼ã³åºãå¿ è¦ãããã¾ãã program CallingVirtualMethodFromConstructorOfBaseClass; type TBase = class public constructor Create; destructor Destroy; override; procedure DoSomething; virtual; end; TDerived = class(TBase) public constructor
{{#tags}}- {{label}}
{{/tags}}