Official Forum for Programming in Objective-C (the iPhone Programming Language) - Stephen Kochan
October 18, 2018, 03:33:53 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
   Home   Help Search Login Register Chat  
Pages: [1]   Go Down
Author Topic: can anyone say me whats is right answer for this question?  (Read 1940 times)
Posts: 1

« on: June 09, 2010, 06:49:50 AM »

- Which of the following can be inherited?
1. Categories

2. Protocols
3. Classes
4. None of the above

I am thinking 2 and 3

am i right?
Hero Member
Posts: 3114

« Reply #1 on: June 09, 2010, 09:54:36 AM »

The wording of the question is a little off (e.g., a class isn't "inherited.". A subclass inherits the instance variables and methods from the parent class, including any methods defined in categories and for protocols.


Steve Kochan
« Last Edit: June 09, 2010, 10:12:09 AM by skochan » Logged
Pages: [1]   Go Up
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Entire forum contents ゥ 2009 All rights reserved.