Explain class definition in objective-c?
Answer / Tripuresh Misra
In Objective-C, a class is a blueprint for creating objects. It defines the attributes (properties) and behaviors (methods) that the objects created from it will have. A class is defined by using the keyword 'class' followed by the name of the class enclosed in curly braces. For example: n`@interface MyClass : NSObjectn@end`
| Is This Answer Correct ? | 0 Yes | 0 No |
What do you mean by @synthesize and @dynamic in the objective-c?
What is nonatomic in objective c?
What is concept of property?
What is strong and weak in objective c?
What are the different types of protocols?
What can objective c be used for?
What is m files document management?
What is extern objective c?
What is synthesize objective c?
Is c and objective c the same?
What is a .m file?
Is objective c dynamically typed?