Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What can’t we put into an array or dictionary?



What can’t we put into an array or dictionary?..

Answer / Pranaw Kumara

In Objective-C, you cannot add non-object types such as primitive data types (like int, char, float) directly into arrays or dictionaries. To use these types, you would typically wrap them in NSNumber objects before adding to collections.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

What is objective c runtime?

1 Answers  


What is abi stability?

1 Answers  


What is difference between nil and nill?

1 Answers  


What is an example of category?

1 Answers  


How to make a code snippet thread safe?

1 Answers  


What are the delegate?

1 Answers  


What is protocol in objective-c?

1 Answers  


What is a class in xcode?

1 Answers  


What is instancetype?

1 Answers  


What is ivar objective c?

1 Answers  


Explain the difference between atomic and nonatomic synthesized properties.

1 Answers  


Can I write some c++ function in same .m file? Will it compile? If no, what changes should I do to compile it?

1 Answers  


Categories