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

面试题 相关文章推荐
如何配置、使用和清除Smarty缓存
Dec 23 面试题
几道PHP的面试题
May 19 面试题
SQL Server 2000数据库的文件有哪些,分别进行描述
Mar 30 面试题
什么是Rollback Segment
Apr 22 面试题
广州一家公司的.NET面试题
Jun 11 面试题
金士达面试非笔试
Mar 14 面试题
介绍一下Linux文件的记录形式
Apr 18 面试题
Linux面试经常问的文件系统操作命令
Oct 04 面试题
Shell编程面试题
May 29 面试题
软件缺陷的分类都有哪些
Aug 22 面试题
50道外企软件测试面试题
Aug 18 面试题
EJB timer的种类
Oct 28 面试题
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
rephactor 优秀的PHP的重构工具
2011/06/09 PHP
windows下zendframework项目环境搭建(通过命令行配置)
2012/12/06 PHP
基于PHP字符串的比较函数strcmp()与strcasecmp()的使用详解
2013/05/15 PHP
Thinkphp和onethink实现微信支付插件
2016/04/13 PHP
CI框架中$this->load->library()用法分析
2016/05/18 PHP
php实现常见图片格式的水印和缩略图制作(面向对象)
2016/06/15 PHP
解决PHP程序运行时:Fatal error: Maximum execution time of 30 seconds exceeded in的错误提示
2016/11/25 PHP
redis+php实现微博(一)注册与登录功能详解
2019/09/23 PHP
JavaScript 注册事件代码
2011/01/27 Javascript
判断ie的两种简单方法
2013/08/12 Javascript
jQuery中获取checkbox选中项等操作及注意事项
2013/11/24 Javascript
使用nodejs开发cli项目实例
2015/06/03 NodeJs
nodeJs爬虫获取数据简单实现代码
2016/03/29 NodeJs
jQuery实现两个select控件的互移操作
2016/12/22 Javascript
12306 刷票脚本及稳固刷票脚本(防挂)
2017/01/04 Javascript
vue图片加载与显示默认图片实例代码
2017/03/16 Javascript
JS库 Highlightjs 添加代码行号的实现代码
2017/09/13 Javascript
详解Vue 匿名、具名和作用域插槽的使用方法
2019/04/22 Javascript
[53:15]2018DOTA2亚洲邀请赛3月29日 小组赛A组 LGD VS TNC
2018/03/30 DOTA
[03:40]DOTA2抗疫特别篇《英雄年代》
2020/02/28 DOTA
Linux下为不同版本python安装第三方库
2016/08/31 Python
对web.py设置favicon.ico的方法详解
2018/12/04 Python
python模糊图片过滤的方法
2018/12/14 Python
详解Python3注释知识点
2019/02/19 Python
Python提取频域特征知识点浅析
2019/03/04 Python
Python一键安装全部依赖包的方法
2019/08/12 Python
Python搭建代理IP池实现获取IP的方法
2019/10/27 Python
庆七一活动方案
2014/01/25 职场文书
给领导的检讨书
2014/02/16 职场文书
电子银行营销方案
2014/02/22 职场文书
《可爱的动物》教学反思
2014/02/22 职场文书
母婴店促销方案
2014/03/05 职场文书
孩子满月酒答谢词
2015/09/30 职场文书
python四种出行路线规划的实现
2021/06/23 Python
详解Java实现数据结构之并查集
2021/06/23 Java/Android
浅谈css实现背景颜色半透明的两种方法
2021/12/06 HTML / CSS