Objective-C

292
3875 reads

March 8, 2013

Pool


Program to release memory by using AutoreleasePool.

145
2235 reads

March 8, 2013

Memory


Program to show how to deallocate memory which is occupied by class object.

386
4936 reads

March 8, 2013

Increment Count


Program which retains count of object by initializing a object and increment it by using "retain" keyword.

45
1047 reads

March 8, 2013

Decrement Count


Program to show how to decrement retain count by using "release" keyword.

104
1199 reads

March 8, 2013

Create Object


Program to allocate memory by creating object of class.

44
1350 reads

March 8, 2013

Main


Program to show exception handling.

190
2251 reads

March 7, 2013

Private


Program showing, inaccessibility of private variable of class in the main method.Program shows error.

221
2310 reads

March 7, 2013

Override


Program to achieve method overriding.

215
1697 reads

March 7, 2013

Polymorphism


Program to achieve polymorphism.

47
996 reads

March 7, 2013

Protected


Program to access protected variable of class by its inherited class.