Official Forum for Programming in Objective-C (the iPhone Programming Language) - Stephen Kochan
June 21, 2018, 08:28:00 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
  Print  
Author Topic: can anyone say me whats is right answer for this question?  (Read 1831 times)
renukashah
Newbie
*
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?
Logged
skochan
Administrator
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.


Cheers,

Steve Kochan
« Last Edit: June 09, 2010, 10:12:09 AM by skochan » Logged
Pages: [1]   Go Up
  Print  
 
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 classroomM.com. All rights reserved.