#import<Life/Experience.h> @class MYdata @interface Information : Nikunj { int age : 20 ; NSString *NikunjParmar= [[NikunjParmar alloc] init]; } -(int) moreAboutMe; //Life should return some values (No space for voids ) @end @implementation Information -(int) moreAboutMe{ NSLog(I am currently student at Nirma university Mechanical engineering department ); NSLog(I worked with many programming languages like C , python ,objective-c,javascript); return 1; // Please don`t compare it with programming (I am kidding) } @end int main(Don`t wont to use argc and argv) { Information *show = [[Information allow] init]; show.moreAboutMe; [show release]; //Yeah, it`s possible to release memories, wow... [pool drain]; return 0; }
©