题目内容

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. 错

如果维度数据用字符串填充,计算均值不够精确,所以可以考虑用它上一行或下一行的维度数据来填充。

A. 对
B. 错

答案查题题库