Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
これらが OOP 言語によって直接サポートされていない場合、疑似インターフェースを形成する方法はありますか?
仮想機能はありますか?インターフェースは、仮想関数だけを持つ基底クラスに過ぎず、本体がなくても、基底クラスのバージョンが使用されている場合にエラーをスローするスタブがあってもかまいません。