WHAT IS THE CLASS METHOD?

Tarun Kumar

Total Post:107

Points:535
Posted by  Tarun Kumar
 622  View(s)
Ratings:
Rate this:
  1. Tarun Kumar

    Post:107

    Points:535
    What is the class method?

    Class methods work at the class level and are common to all instance of a class these methods are specific to the class overall as opposed to working on different instance data encapsulated in each class instance.

    @interface class name :ns object {

    }

    +(class name *)new alloc:

    -(int)total open

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!