---
title: "What is the instance methods?"  
description: "What is the instance methods?"  
author: "Tarun Kumar"  
published: 2015-08-21  
updated: 2020-09-18  
canonical: https://www.mindstick.com/interview/22782/what-is-the-instance-methods  
category: "iphone"  
tags: ["iphone", "ios", "objective c"]  
reading_time: 1 minute  

---

# 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.

## Answers

### Answer by Tarun Kumar

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.


---

Original Source: https://www.mindstick.com/interview/22782/what-is-the-instance-methods

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
