Thanks a lot shakti



On Tue, Jun 15, 2010 at 7:31 PM, Shakti Singh Tanwar <
[email protected]> wrote:

> well the only valid point is that you can't call an abstract method...n if
> it's override in child class means it must be either virtual or abstract in
> base class....
>
> I wrote a 4 article series on dotnetspider long time back..kindly go
> through them to left you shocked :)
>
>
> Part-1 --
> http://www.dotnetspider.com/resources/18616-OOPS-Concepts-Net-Shake-y...<http://www.google.com/url?sa=D&q=http://www.dotnetspider.com/resources/18616-OOPS-Concepts-Net-Shake-your.aspx&usg=AFQjCNFwBpzMc__ELrTllRIhwtsipYMjZw>
> Part-2 --
> http://www.dotnetspider.com/resources/18617-OOPS-Concepts-Net-Shake-y...<http://www.google.com/url?sa=D&q=http://www.dotnetspider.com/resources/18617-OOPS-Concepts-Net-Shake-your.aspx&usg=AFQjCNGwvr-lf4f4rrxrp59UMgbLI--JfQ>
> Part-3--
> http://www.dotnetspider.com/resources/18618-OOPS-Concepts-Net-Shake-y...<http://www.google.com/url?sa=D&q=http://www.dotnetspider.com/resources/18618-OOPS-Concepts-Net-Shake-your.aspx&usg=AFQjCNE9feiyp8_nhDLkaeZMPZeKPtVE9A>
> Part-4 --
> http://www.dotnetspider.com/resources/18766-OOPS-Concepts-Net-Shake-y...<http://www.google.com/url?sa=D&q=http://www.dotnetspider.com/resources/18766-OOPS-Concepts-Net-Shake-your-funda.aspx&usg=AFQjCNFsii10wP51tzvObAmXXKCHdywvaw>
>
> I am a freelance corporate trainer and have also trained hundred's of
> freshers who are now working in big MNC's.
>
> On Tue, Jun 15, 2010 at 1:41 PM, Akter Suriya <[email protected]>wrote:
>
>> 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
>>>>
>>>>
>>>
>>
>>
>>
>>
>

Reply via email to