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

面试题 相关文章推荐
SQL中where和having的区别
Jun 17 面试题
应用服务器有那些
Jan 19 面试题
Ibatis如何使用动态表名
Jul 12 面试题
面向对象编程的优势是什么
Dec 17 面试题
实现strstr功能,即在父串中寻找子串首次出现的位置
Aug 05 面试题
估算杭州有多少软件工程师
Aug 11 面试题
在C++ 程序中调用被C 编译器编译后的函数,为什么要加extern "C"
Aug 09 面试题
说出你对remoting 和webservice的理解和应用
Jun 08 面试题
说一下Linux下有关用户和组管理的命令
Jan 04 面试题
Linux如何压缩可执行文件
Mar 27 面试题
几个常见的消息中间件(MOM)
Jan 08 面试题
一套Delphi的笔试题一
Feb 14 面试题
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部分常见问题总结
2008/03/27 PHP
Views rows style模板重写代码
2011/05/16 PHP
Zend Framework中的简单工厂模式 图文
2012/07/10 PHP
Yii中CGridView禁止列排序的设置方法
2016/07/12 PHP
PHP面向对象学习之parent::关键字
2017/01/18 PHP
兼容IE与firefox火狐的回车事件(js与jquery)
2010/10/20 Javascript
JQuery操作Select的Options的Bug(IE8兼容性视图模式)
2013/04/21 Javascript
js获取html页面节点方法(递归方式)
2013/12/13 Javascript
JavaScript中Math对象方法使用概述
2014/01/02 Javascript
javascript工厂方式定义对象
2014/12/26 Javascript
招聘网站基于jQuery实现自动刷新简历
2015/05/10 Javascript
很实用的js选项卡切换效果
2016/08/12 Javascript
vue实现ajax滚动下拉加载,同时具有loading效果(推荐)
2017/01/11 Javascript
js canvas实现适用于移动端的百分比仪表盘dashboard
2017/07/18 Javascript
js实现移动端导航点击自动滑动效果
2017/07/18 Javascript
浅谈vue的踩坑路
2017/08/31 Javascript
JS动态添加元素及绑定事件造成程序重复执行解决
2017/12/07 Javascript
JS实现transform实现扇子效果
2020/01/17 Javascript
浅析VUE防抖与节流
2020/11/24 Vue.js
[04:19]DOTA2亚洲邀请赛 现场花絮
2015/03/11 DOTA
Django 全局的static和templates的使用详解
2019/07/19 Python
python 列表推导式使用详解
2019/08/29 Python
Python爬虫使用bs4方法实现数据解析
2020/08/25 Python
详解python 支持向量机(SVM)算法
2020/09/18 Python
python 实现表情识别
2020/11/21 Python
HTML5中的postMessage API基本使用教程
2016/05/20 HTML / CSS
Html5 webview元素定位工具的实现
2020/08/07 HTML / CSS
马来西亚太阳镜、眼镜和隐形眼镜网上商店:Focus Point
2018/12/13 全球购物
房地产销售计划书
2014/01/10 职场文书
三分钟英语演讲稿
2014/04/24 职场文书
任命书怎么写
2014/06/04 职场文书
南湾猴岛导游词
2015/02/09 职场文书
2015年安全教育月活动总结
2015/03/26 职场文书
学校清洁工岗位职责
2015/04/15 职场文书
简单的辞职信模板
2015/05/12 职场文书
MySQL创建定时任务
2022/01/22 MySQL