横线处应选( )。
刷题刷出新高度,偷偷领先!偷偷领先!偷偷领先! 关注我们,悄悄成为最优秀的自己!
单选题
The API changes should provide both source and binary(_______ )for programs written to the original API.That is, existing program binaries should continue to operate when run on a system supporting the new API.In addition, existing()that are re-compiled and run on a system supporting the new API should continue to operate.Simply put, the AP(I ) for multicast receivers that specify source filters should not break existing programs.The changes to the API should be as small as possible in order to simplicity the task of converting existing() receiver applications to use source filters. Applications should be able to delete when the new() filter APIs are unavailable(e.g., calls fail with the ENOTSUPP error) and react gracefully(e.g., revert to old non-source-filter API or display a meaningful error message to the user).
A
B
C
D
使用微信搜索喵呜刷题,轻松应对考试!
答案:
解析:
根据题目描述,题目主要强调了API变化后对于原有程序和应用的兼容性。第一空,需要保证基于原始API编写的程序在新API系统中既能运行原有二进制版本,又能运行重新编译后的版本,因此需要强调兼容性(compatibility)。第二空,描述的是API变化应该尽可能小,以便简化现有接收器应用程序转换为使用源过滤器的任务,这也强调了兼容性。第三空,描述了当新过滤器API不可用(例如,调用失败并返回ENOTSUPP错误)时,应用程序应该能够删除并优雅地应对(例如,恢复到旧的非源过滤器API或向用户显示有意义的错误消息),这同样强调了兼容性。因此,正确答案是B。
创作类型:
原创
本文链接:The API changes should provide both source and bin
版权声明:本站点所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明文章出处。让学习像火箭一样快速,微信扫码,获取考试解析、体验刷题服务,开启你的学习加速器!



