abstract class ABC { void myfunc() { console.write("hello"); } abstract void abstfunc(); } class b: a { override void abstfunc(){ console.write("override");} } main() { class b=new b(); b.abstfunc(); }
class ABC { void myfunc() { console.write("hello"); } void virtual abstfunc(){ } } class b: a { override void abstfunc(){ console.write("override");} } main() { class b=new b(); b.abstfunc(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)