WHAT IS THE INSTANCE METHODS?

Tarun Kumar

Total Post:107

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

    Post:107

    Points:535
    What is the instance methods?

    Instance methods are essentially code routines that perform tasks so instances of classes we create methods to get and set the instance variables and to display the current values of these variables.

    Declaration of instance method :

        – (void)click me: (id)sender;

    1.       Void is return type which does not giving any thing here.

    2.       Click me is method name.

    3.       Id is data type which returns any type of object.

Answer

NEWSLETTER

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