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

面试题 相关文章推荐
PHP如何与mysql建立链接
May 05 面试题
面向对象编程OOP的优点
Jan 22 面试题
上海方立数码笔试题
Oct 18 面试题
.net开发工程师面试题
Feb 25 面试题
3个CCIE对一个工程师的面试题
May 06 面试题
软件配置管理有什么好处
Apr 15 面试题
How TDD works
Sep 30 面试题
EJB实例的生命周期
Oct 28 面试题
介绍一下Prototype的$()函数,$F()函数,$A()函数都是什么作用?
Mar 05 面试题
如何从一个文件档案的尾端新增记录
Dec 02 面试题
深圳茁壮笔试题
May 28 面试题
解释下面关于J2EE的名词
Nov 15 面试题
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异步执行的常用方式详解
2013/06/03 PHP
关于Sphinx创建全文检索的索引介绍
2013/06/25 PHP
PHP网页游戏学习之Xnova(ogame)源码解读(三)
2014/06/23 PHP
Javascript实例教程(19) 使用HoTMetal(7)
2006/12/23 Javascript
Prototype 学习 工具函数学习($A方法)
2009/07/12 Javascript
JavaScript DOM 学习第七章 表单的扩展
2010/02/19 Javascript
jQuery find和children方法使用
2011/01/31 Javascript
jquery中的 $("#jb51")与document.getElementById("jb51") 的区别
2011/07/26 Javascript
生成二维码方法汇总
2014/12/26 Javascript
jQuery通过扩展实现抖动效果的方法
2015/03/11 Javascript
js父页面中使用子页面的方法
2016/01/09 Javascript
js正则表达式replace替换变量方法
2016/05/21 Javascript
vuex实现简易计数器
2016/10/27 Javascript
Bootstrap DateTime Picker日历控件简单应用
2017/03/25 Javascript
javascript编程开发中取色器及封装$函数用法示例
2017/08/09 Javascript
完美解决手机浏览器顶部下拉出现网页源或刷新的问题
2017/11/30 Javascript
nodejs 使用 js 模块的方法实例详解
2018/12/04 NodeJs
浅谈vue加载优化策略
2019/03/19 Javascript
微信小程序实现同一页面取值的方法分析
2019/04/30 Javascript
vue实现的封装全局filter并统一管理操作示例
2020/02/02 Javascript
原生JavaScript实现拖动校验功能
2020/09/29 Javascript
浅析Python中元祖、列表和字典的区别
2016/08/17 Python
python selenium 对浏览器标签页进行关闭和切换的方法
2018/05/21 Python
Django框架反向解析操作详解
2019/11/28 Python
使用Pyhton 分析酒店针孔摄像头
2020/03/04 Python
Python日志器使用方法及原理解析
2020/09/27 Python
python绘图pyecharts+pandas的使用详解
2020/12/13 Python
Club Monaco加拿大官网:设计师男女服装
2019/09/29 全球购物
BannerBuzz加拿大:在线定制横幅印刷、广告和标志
2020/03/10 全球购物
如何从一个文件档案的尾端新增记录
2016/12/02 面试题
大学生涯自我鉴定
2014/01/16 职场文书
幼儿园六一儿童节主持节目串词
2014/03/21 职场文书
干部竞争上岗演讲稿
2014/09/11 职场文书
优秀共产党员事迹材料
2014/12/18 职场文书
党员倡议书
2015/01/19 职场文书
《窃读记》教学反思
2016/02/18 职场文书