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

面试题 相关文章推荐
Linux中如何设置Java环境变量(Ubuntu)
Jul 24 面试题
您熟悉ORM(Object-Relation Mapping)吗?请谈谈您所理解的ORM
Feb 08 面试题
Java的五个基础面试题
Feb 26 面试题
寻找迷宫的一条出路,o通路;X:障碍
Jul 10 面试题
求网格中的黑点分布
Nov 06 面试题
经典C++面试题一
Nov 06 面试题
什么是SQL Server的确定性函数和不确定性函数
Aug 04 面试题
亿企通软件测试面试题
Apr 10 面试题
Ajax和javascript的区别
Jul 20 面试题
Java如何调用外部Exe程序
Jul 04 面试题
程序员跳槽必看面试题总结
Jun 28 面试题
介绍一些UNIX常用简单命令
Nov 11 面试题
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捕获Fatal error错误的方法
2014/06/11 PHP
ThinkPHP调用百度翻译类实现在线翻译
2014/06/26 PHP
五款PHP代码重构工具推荐
2014/10/14 PHP
PHP+jQuery翻板抽奖功能实现
2015/10/19 PHP
PHP生成制作验证码的简单实例
2016/06/12 PHP
PHP弱类型语言中类型判断操作实例详解
2017/08/10 PHP
jQuery 操作option的实现代码
2011/03/03 Javascript
兼容IE和FF的图片上传前预览js代码
2013/05/28 Javascript
Node.js中安全调用系统命令的方法(避免注入安全漏洞)
2014/12/05 Javascript
浅谈Javascript线程及定时机制
2015/07/02 Javascript
jQuery Validate初步体验(一)
2015/12/12 Javascript
两种方法解决javascript url post 特殊字符转义 + & #
2016/04/13 Javascript
Jquery组件easyUi实现选项卡切换示例
2016/08/23 Javascript
jQuery可见性过滤选择器用法示例
2016/09/09 Javascript
使用nodeJs来安装less及编译less文件为css文件的方法
2017/11/20 NodeJs
微信小程序 Animation实现图片旋转动画示例
2018/08/22 Javascript
对angular 监控数据模型变化的事件方法$watch详解
2018/10/09 Javascript
JavaScript中的回调函数实例讲解
2019/01/27 Javascript
如何自动化部署项目?折腾服务器之旅~
2019/04/16 Javascript
node将geojson转shp返回给前端的实现方法
2019/05/29 Javascript
js实现随机点名器精简版
2020/06/29 Javascript
Vue中关闭弹窗组件时销毁并隐藏操作
2020/09/01 Javascript
python数据结构之二叉树的统计与转换实例
2014/04/29 Python
Python中使用MELIAE分析程序内存占用实例
2015/02/18 Python
Python 26进制计算实现方法
2015/05/28 Python
Python实时获取cmd的输出
2015/12/13 Python
Python实现定时任务
2017/02/08 Python
详谈python3 numpy-loadtxt的编码问题
2018/04/29 Python
解决python使用list()时总是报错的问题
2020/05/05 Python
python 装饰器的实际作用有哪些
2020/09/07 Python
巴西购物网站:Onofre Agora
2020/06/08 全球购物
大一新生学期自我评价
2014/04/09 职场文书
初中学校对照检查材料
2014/08/19 职场文书
解决mysql的int型主键自增问题
2021/07/15 MySQL
Python中request的基本使用解决乱码问题
2022/04/12 Python
WinServer2012搭建DNS服务器的方法步骤
2022/06/10 Servers