Objects are instances of the class to use the class code, we need to create the object.
@interface Person : NSObject {
NSString *_name;
NSInteger _age;
}
Here, in the newly created Person class declares two variables _name & _age. The sign of the stars is only about the object. Why the object is exactly _name? But if I create a class to find the area of a triangle by means of one formula ? There are only 4 variables, area of a triangle, side a, side B, and height. Here will be the object and marked with an asterisk? If the area of the triangle then it will be declared?
double *_areaTriangle; // ?