多项选择题

下面哪些关键字会引起对象的引用计数(retainCount)加一:()。

A.alloc
B.init
C.retain
D.copy

<上一题 目录 下一题>
热门 试题

多项选择题
下面哪些方法是UITableView的delegate方法:()。

A.-(NSInteger)tableView:(UITableView*)tableView numberOfRowsInSection:(NSInteger)section;
B.-(UITableViewCell*)tableView:(UITableView*)tableView cellForRowAtIndexPath:(NSIndexPath*)indexPath;
C.-(CGFloat)tableView:(UITableView*)tableView heightForRowAtIndexPath:(NSIndexPath*)indexPath;
D.-(void)tableView:(UITableView*)tableView didSelectRowAtIndexPath:(NSIndexPath*)indexPath;

单项选择题
iOS中,可以从一个应用(如APP01)跳转到另外一个应用(如APP02),如果要在跳转的过程中,将username和password这两个参数传递给APP02,下列代码正确的是:()。

A.NSURL* open_URL_A=[NSURL URLWithString:@"APP02://username=test01&password=123456"]
B.NSURL* open_URL_A=[NSURL URLWithString:@"APP02://username=test01,password=123456"]
C.NSURL* open_URL_A=[NSURL URLWithString:@"APP02://username=test01//password=123456"]
D.NSURL* open_URL_A=[NSURL URLWithString:@"APP02://username=test01#password=123456"]

相关试题
  • 以下属于数据存储方法的是()。
  • UITableView中必须实现的两个代理方法是(...
  • M和C之间的交流方式包括()。
  • 沙盒下面的文件夹包含哪些?()
  • 以下不属于使用数据库的好处的是()。