FROM : Vinay Prabhu
DATE : Wed Jul 19 08:32:52 2006
Hi,
I have few basic doubts in Objective-C.
Is there virtual concept in Objective - C as in C++?
Or is it default in Objective C?
While overriding the methods from super class,
Do we need to declare the function prototype in the derived class header
file?
When I have overridden the super class functions, I have tried both,
declaring the prototype and by not declaring the prototype in the derived
class header file.
In both the cases it worked fine.
So is it necessary to declare the prototype? If not, if the prototype is
declared in derived class is there any adverse effects?
Regards
Vinay
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s)and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender or <email_removed>
DATE : Wed Jul 19 08:32:52 2006
Hi,
I have few basic doubts in Objective-C.
Is there virtual concept in Objective - C as in C++?
Or is it default in Objective C?
While overriding the methods from super class,
Do we need to declare the function prototype in the derived class header
file?
When I have overridden the super class functions, I have tried both,
declaring the prototype and by not declaring the prototype in the derived
class header file.
In both the cases it worked fine.
So is it necessary to declare the prototype? If not, if the prototype is
declared in derived class is there any adverse effects?
Regards
Vinay
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s)and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender or <email_removed>
| Related mails | Author | Date |
|---|---|---|
| Vinay Prabhu | Jul 19, 08:32 | |
| Shawn Erickson | Jul 19, 08:40 | |
| Dix Lorenz | Jul 19, 08:43 | |
| Finlay Dobbie | Jul 19, 13:50 | |
| Dix Lorenz | Jul 19, 14:02 | |
| Vinay Prabhu | Jul 19, 14:04 | |
| Scott Ribe | Jul 19, 20:34 | |
| Michael Watson | Jul 19, 20:47 | |
| Dirk Stegemann | Jul 19, 21:39 | |
| Chris Stewart | Jul 19, 23:04 |






Cocoa mail archive

