Objective-C

292
3886 reads

March 8, 2013

Pool


Program to release memory by using AutoreleasePool.

145
2246 reads

March 8, 2013

Memory


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

386
4948 reads

March 8, 2013

Increment Count


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

45
1059 reads

March 8, 2013

Decrement Count


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

104
1209 reads

March 8, 2013

Create Object


Program to allocate memory by creating object of class.

44
1365 reads

March 8, 2013

Main


Program to show exception handling.

190
2263 reads

March 7, 2013

Private


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

221
2321 reads

March 7, 2013

Override


Program to achieve method overriding.

215
1707 reads

March 7, 2013

Polymorphism


Program to achieve polymorphism.

47
1008 reads

March 7, 2013

Protected


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