C#软件工程师英语面试题


Posted in 面试题 onJune 07, 2015
1 True or false: both instance properties and static properties are allowed? True
2 True or false: a static method can access instance members? False.
3. It is considered good style to explicitly invoke the garbage collector whenever an object allocated on the heap goes out of scope? True
4 Determining if two references refer to the same object should be done using: The Equals method.
5 In Exceptions, the catch and finally constructs may be associated with the same try block. True.56
6 If a method is marked as protected internal who can access it?
Classes that are both in the same assembly and derived from the declaring class.
7. What’s the difference between the Debug class and Trace class?
8. When should you call the garbage collector in .NET?

9 What is encapsulation??
Containing and hiding information about an object, such as internal data structures and code. Encapsulation isolates the internal complexity of an object’s operation from the rest of the application. For example, a client component asking for net revenue from a business object need not know the data’s origin.
What is inheritance?
Inheritance allows one class to reuse the state and behavior of another class. The derived class inherits the properties and method implementations of the base class and extends it by overriding methods and adding additional properties and methods.
What is Polymorphism??
Polymorphism allows a client to treat different objects in the same way even if they were created from different classes and exhibit different behaviors.
You can use implementation inheritance to achieve polymorphism in languages such as C++ and Java. Base class object’s pointer can invoke methods in derived class objects.
You can also achieve polymorphism in C++ by function overloading and operator overloading.

10 What is a virtual method?
the implementation of a virtual method can be superseded by derived classes. The process of superseding the implementation of an inherited virtual method is known as overriding that method

Tags in this post...

面试题 相关文章推荐
随机分配座位,共50个学生,使学号相邻的同学座位不能相邻
Jan 18 面试题
static全局变量与普通的全局变量有什么区别?static局部变量和普通局部变量有什么区别?static函数与普通函数有什么区别?
Feb 22 面试题
几个SQL的面试题
Mar 08 面试题
.NET方向面试题
Nov 20 面试题
C# Debug和Testing相关面试题
Oct 25 面试题
Shell编程面试题
May 29 面试题
Linux开机引导的步骤是什么
Feb 26 面试题
AJAX应用和传统Web应用有什么不同
Aug 24 面试题
JAVA招聘远程笔试题
Jul 23 面试题
Java程序员面试90题
Oct 19 面试题
Unix如何添加新的用户
Aug 20 面试题
Ruby如何定义一个类
Oct 08 面试题
C#如何进行LDAP用户校验
Nov 21 #面试题
sealed修饰符是干什么的
Oct 23 #面试题
维德科技C#面试题笔试题
Dec 09 #面试题
C#实现启动一个进程
Oct 01 #面试题
C#笔试题
Jul 14 #面试题
C#和SQL Server的面试题
Aug 12 #面试题
编写一个 C 函数,该函数在一个字符串中找到可能的最长的子字符串,且该字符串是由同一字符组成的
Jul 23 #面试题
You might like
PHP curl_setopt()函数实例代码与参数分析
2011/06/02 PHP
PHP 无限级分类
2017/05/04 PHP
php中加密解密DES类的简单使用方法示例
2020/03/26 PHP
很可爱的输入框
2008/08/03 Javascript
JavaScript 核心参考教程 内置对象
2009/10/13 Javascript
一个分享按钮的插件使用介绍(可扩展,内附开发制作流程)
2011/09/19 Javascript
Jquery chosen动态设置值实例介绍
2013/08/08 Javascript
jquery实现兼容浏览器的图片上传本地预览功能
2013/10/14 Javascript
js/jquery判断浏览器的方法小结
2014/09/02 Javascript
基于angularjs实现图片放大镜效果
2016/08/31 Javascript
简单实现js悬浮导航效果
2017/02/05 Javascript
Vue.js进行查询操作的实例详解
2017/08/25 Javascript
微信小程序倒计时功能实现代码
2017/11/09 Javascript
Vue绑定内联样式问题
2018/10/17 Javascript
layui导出所有数据的例子
2019/09/10 Javascript
Vuex实现简单购物车
2021/01/10 Vue.js
vue.js实现点击图标放大离开时缩小的代码
2021/01/27 Vue.js
[32:39]完美世界DOTA2联赛循环赛 Forest vs Inki BO2第一场 11.04
2020/11/04 DOTA
用Python登录Gmail并发送Gmail邮件的教程
2015/04/17 Python
对pandas的dataframe绘图并保存的实现方法
2017/08/05 Python
Python机器学习k-近邻算法(K Nearest Neighbor)实例详解
2018/06/25 Python
pandas将numpy数组写入到csv的实例
2018/07/04 Python
详解将Django部署到Centos7全攻略
2018/09/26 Python
pyinstaller打包程序exe踩过的坑
2019/11/19 Python
通过实例学习Python Excel操作
2020/01/06 Python
利用4行Python代码监测每一行程序的运行时间和空间消耗
2020/04/22 Python
当文件系统受到破坏时,如何检查和修复系统?
2012/03/09 面试题
造型师求职自荐信
2013/09/27 职场文书
2014年护士个人工作总结
2014/11/11 职场文书
事业单位聘任报告
2015/03/02 职场文书
2015年端午节活动方案
2015/05/05 职场文书
家长会后的感想
2015/08/11 职场文书
大学副班长竞选稿
2015/11/21 职场文书
2016圣诞节贺卡寄语
2015/12/07 职场文书
家庭教育培训学习心得体会
2016/01/14 职场文书
详解Golang如何优雅的终止一个服务
2022/03/21 Golang