通过继承Service类来创建Service后必须实现的方法是
A. onCreate
B. onStartCommand
C. onBind
D. onDestroy
查看答案
Activity名为MainActivity Service名为:MyService。startService方法启动服务时,所需Intent对象作为参数。该对象可以通过如下那个方式构建
A. Intent intent = new Intent(MainActivity.this, MyService)
B. Intent intent = new Intent(MainActivity.this, MyService.class)
C. Intent intent = new Intent(MainActivity.class, MyService)
D. Intent intent = new Intent(MainActivity.this, MyService.this)
使用StartService启动服务,每次调用都将执行哪一个方法
A. onBind
B. onDestroy
C. onStartCommand
D. onCreate
对于缺失值的处理下列哪些操作是正确的?
A. 删除缺失值
B. 用字符串填充
C. 根本不用理会
D. 重新收集数据
isnull方法可以查看是否有缺失值。
A. 对
B. 错