thanks a lot shakti, Any other point (if any) for support of your statement. (though i got the clarification by your statement).
Thanks, Suriya On Mon, Jun 14, 2010 at 6:58 PM, Shakti Singh Tanwar < [email protected]> wrote: > very simple.... > In class B you are calling base.method() which is only possible if the > method is virtual not abstract > > > On 6/14/10, Akter Suriya <[email protected]> wrote: >> >> One of my friend asked me this question. >> >> class A >> { >> XXX method1() >> ...... >> } >> >> >> class B : A >> { >> override method1 () >> { >> base.method1(); >> } >> } >> >> He says, how can we identify, XXX (written in front of method1 in class A) >> is virtual or abstract. >> Can anybody help me. Thanks. >> >> -- >> Suriya >> >> >
