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

面试题 相关文章推荐
如何设定的weblogic的热启动模式(开发模式)与产品发布模式
Sep 08 面试题
char型变量中能不能存贮一个中文汉字
Jul 08 面试题
SQL Server数据库笔试题和答案
Feb 04 面试题
this关键字的含义
Apr 08 面试题
简述安装Slackware Linux系统的过程
Jan 12 面试题
Shell编程面试题
May 30 面试题
网上常见的一份Linux面试题(多项选择部分)
Sep 09 面试题
什么是SCM(软件配置管理)
Aug 16 面试题
敏捷开发的主要原则都有哪些
Apr 26 面试题
介绍一下mysql的日期和时间函数
Mar 28 面试题
介绍一下Java中的static关键字
May 12 面试题
JAVA软件工程师测试题
Jul 25 面试题
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
array_multisort实现PHP多维数组排序示例讲解
2011/01/04 PHP
腾讯微博提示missing parameter errorcode 102 错误的解决方法
2014/12/22 PHP
Yii实现显示静态页的方法
2016/04/25 PHP
PHP 裁剪图片
2021/03/09 PHP
Javascript Function对象扩展之延时执行函数
2010/07/06 Javascript
js修改input的type属性问题探讨
2013/10/12 Javascript
简介JavaScript中的push()方法的使用
2015/06/09 Javascript
Angular Js文件上传之form-data
2015/08/28 Javascript
轻松学习jQuery插件EasyUI EasyUI表单验证
2015/12/01 Javascript
javascript HTML+CSS实现经典橙色导航菜单
2016/02/16 Javascript
jQuery中使用animate自定义动画的方法
2016/05/29 Javascript
jQuery动态改变多行文本框高度的方法
2016/09/07 Javascript
AngularJS指令中的绑定策略实例分析
2016/12/14 Javascript
JS 组件系列之Bootstrap Table的冻结列功能彻底解决高度问题
2017/06/30 Javascript
基于VUE的v-charts的曲线显示功能
2019/10/01 Javascript
JS实现动态倒计时功能(天数、时、分、秒)
2019/12/12 Javascript
通过angular CDK实现页面元素拖放的步骤详解
2020/07/01 Javascript
ssm+vue前后端分离框架整合实现(附源码)
2020/07/08 Javascript
JavaScript实现刮刮乐效果
2020/11/01 Javascript
[03:09]显微镜下的DOTA2第一期——带你走进华丽的DOTA2世界
2014/06/20 DOTA
[53:18]Spirit vs Liquid Supermajor小组赛A组 BO3 第三场 6.2
2018/06/03 DOTA
[02:02]特效爆炸!DOTA2珍宝之瓶待你开启
2018/08/21 DOTA
wxpython中利用线程防止假死的实现方法
2014/08/11 Python
用Python下载一个网页保存为本地的HTML文件实例
2018/05/21 Python
基于numpy中数组元素的切片复制方法
2018/11/15 Python
Python中的支持向量机SVM的使用(附实例代码)
2019/06/26 Python
VScode连接远程服务器上的jupyter notebook的实现
2020/04/23 Python
python使用selenium爬虫知乎的方法示例
2020/10/28 Python
Web时代变迁及html5与html4的区别
2016/01/06 HTML / CSS
有机婴儿毛毯和衣服:Monica + Andy
2020/03/01 全球购物
体育纪念品、亲笔签名的体育收藏品:Steiner Sports
2020/07/31 全球购物
机械机修工岗位职责
2014/08/03 职场文书
夏季药店促销方案
2014/08/22 职场文书
私人委托书格式
2014/09/10 职场文书
事业单位个人总结
2015/02/12 职场文书
学生会2016感恩节活动小结
2016/04/01 职场文书