Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computer Certification > MCAD > Shadow vs. Override

Reply
Thread Tools

Shadow vs. Override

 
 
Justin Fisher
Guest
Posts: n/a
 
      08-12-2004
I am studying for 70-305, during my studies I can not
tell what the difference between shadow and override
keywords? They both appear to do the same thing?

I have the MS Press self paced study training kit and it
uses a circle and a sphere class to illustrate object
oriented concepts. Sphere inherits from circle but it
overrides its center method and shadows it's center
method. Both methods don't seem to use any of the
functionality from the base class.....which leads to my
main questions.

??? Whats the difference between shadowing a member and
overriding a member ???
 
Reply With Quote
 
 
 
 
Lateralus [MCAD.Net]
Guest
Posts: n/a
 
      08-12-2004
Justin,
I found a good post on this exact subject.

http://groups.google.com/groups?hl=e...gbl%26rnum%3D3



--
Lateralus [MCAD.Net]


"Justin Fisher" <> wrote in message
news:4ee001c48064$c2c8a1f0$...
> I am studying for 70-305, during my studies I can not
> tell what the difference between shadow and override
> keywords? They both appear to do the same thing?
>
> I have the MS Press self paced study training kit and it
> uses a circle and a sphere class to illustrate object
> oriented concepts. Sphere inherits from circle but it
> overrides its center method and shadows it's center
> method. Both methods don't seem to use any of the
> functionality from the base class.....which leads to my
> main questions.
>
> ??? Whats the difference between shadowing a member and
> overriding a member ???



 
Reply With Quote
 
 
 
 
Maqs
Guest
Posts: n/a
 
      08-17-2004
Hi, you know I am studying the same material and I have
the same problem, it doesnt explain well the diference
between Shadow and Override, for me, the diference its
that Override its when you change "something" in the
derived class, that could be both Overload or Shadow, but
they are Overriding the base class.

Overload its when you change inside the overridable
Method.

Shadow is when you change the parameters of the
Overridable Method.

If Im wrong, please let me know. Thanks!


>-----Original Message-----
>Justin,
> I found a good post on this exact subject.
>
>http://groups.google.com/groups?hl=en&lr=&ie=UTF-

8&threadm=uPs87hG7DHA.2392%
40TK2MSFTNGP11.phx.gbl&rnum=3&prev=/groups%3Fq%3Dshadow%
2Boverride%2Bc%2523%26hl%3Den%26lr%3D%26ie%3DUTF-8%26selm%
3DuPs87hG7DHA.2392%2540TK2MSFTNGP11.phx.gbl%26rnum %3D3
>
>
>
>--
>Lateralus [MCAD.Net]
>
>
>"Justin Fisher" <>

wrote in message
>news:4ee001c48064$c2c8a1f0$...
>> I am studying for 70-305, during my studies I can not
>> tell what the difference between shadow and override
>> keywords? They both appear to do the same thing?
>>
>> I have the MS Press self paced study training kit and it
>> uses a circle and a sphere class to illustrate object
>> oriented concepts. Sphere inherits from circle but it
>> overrides its center method and shadows it's center
>> method. Both methods don't seem to use any of the
>> functionality from the base class.....which leads to my
>> main questions.
>>
>> ??? Whats the difference between shadowing a member and
>> overriding a member ???

>
>
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nu Tech Dark Shadow 256MB MP3 Sunglasses Silverstrand Front Page News 1 12-01-2005 11:21 PM
Re: BGP same ISP from shadow to multihomed edavid3001@gmail.com Cisco 0 03-18-2005 02:46 PM
COM+ error when I do a Shadow copy Bill Joyce ASP .Net 0 09-23-2004 01:42 PM
OT: Shadow IT Downer Rowdy Yates MCSE 12 06-09-2004 11:25 PM
Shadow copying Alex ASP .Net 2 08-08-2003 08:18 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57