Re: Objective-C Question
Re: Objective-C Question
- Subject: Re: Objective-C Question
- From: Steve Ehrenfried <email@hidden>
- Date: Mon, 22 Sep 2003 03:09:15 -0700 (PDT)
--- Steve Ehrenfried <email@hidden> wrote:
>
From what I can tell Obj C is missing several things
>
which a good OOP language like Java has:
>
>
>
>
4) Being able to specify the access control of
>
members
>
(public, protected, private). Isn't everything
>
public
>
in Obj C? Sorry, I'm a newbie here, but isn't data
>
encapsulation part of the object model?
>
No sooner do I send it out than I find the answer. You
can specify private, protected, public directives for
instance variables. Didn't see any mention that you
can specify this for methods.
-Steve
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.