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的笔试题
May 31 面试题
JAVA的事件委托机制和垃圾回收机制
Sep 07 面试题
VC++笔试题
Oct 13 面试题
介绍一下sql server的安全性
Aug 10 面试题
什么是Oracle的后台进程background processes?都有哪些后台进程?
Apr 26 面试题
.net工程师笔试题
Jun 09 面试题
介绍一下HDLC(High-Level Data Link Control)高层数据链路协议
Jan 21 面试题
在Ajax应用中信息是如何在浏览器和服务器之间传递的
May 31 面试题
如何用Python输出一个Fibonacci数列
Aug 28 面试题
一套中级Java程序员笔试题
Jan 14 面试题
如何安装ruby on rails
Feb 09 面试题
在DELPHI中调用存储过程和使用内嵌SQL哪种方式更好
Nov 22 面试题
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
动漫定律:眯眯眼都是怪物!这些角色狠话不多~
2020/03/03 日漫
全国FM电台频率大全 - 28 甘肃省
2020/03/11 无线电
一个从别的网站抓取信息的例子(域名查询)
2006/10/09 PHP
php中引用符号(&)的使用详解
2013/11/13 PHP
CodeIgniter中实现泛域名解析
2014/07/19 PHP
Laravel 解决419错误 -ajax请求错误的问题(CSRF验证)
2019/10/25 PHP
php设计模式之适配器模式实例分析【星际争霸游戏案例】
2020/04/07 PHP
Jsonp 跨域的原理以及Jquery的解决方案
2011/06/27 Javascript
jquery分页插件AmSetPager(自写)
2013/04/15 Javascript
jQuery插件AjaxFileUpload实现ajax文件上传
2016/05/05 Javascript
利用jquery给指定的table动态添加一行、删除一行的方法
2016/10/12 Javascript
纯javascript版日历控件
2016/11/24 Javascript
深入理解JS继承和原型链的问题
2016/12/17 Javascript
input输入框内容实时监测(附代码)
2017/08/15 Javascript
浅谈react 同构之样式直出
2017/11/07 Javascript
webpack-dev-server自动更新页面方法
2018/02/22 Javascript
解决Vue 通过下表修改数组,页面不渲染的问题
2018/03/08 Javascript
Vue自定义全局弹窗组件操作
2020/08/11 Javascript
详解JavaScript 的执行机制
2020/09/18 Javascript
解决VantUI popup 弹窗不弹出或无蒙层的问题
2020/11/03 Javascript
python实现定制交互式命令行的方法
2014/07/03 Python
Python性能优化的20条建议
2014/10/25 Python
Python计算三维矢量幅度的方法
2015/06/15 Python
实例Python处理XML文件的方法
2015/08/31 Python
Python中Selenium模拟JQuery滑动解锁实例
2017/07/26 Python
python的继承知识点总结
2018/12/10 Python
Python递归函数实例讲解
2019/02/27 Python
Django 再谈一谈json序列化
2020/03/16 Python
Python pysnmp使用方法及代码实例
2020/08/24 Python
芬兰灯具网上商店:Nettilamppu.fi
2018/06/30 全球购物
澳大利亚女装精品店:Alannah Hill
2020/07/29 全球购物
文明学生事迹材料
2014/01/29 职场文书
上课睡觉检讨书300字
2014/11/18 职场文书
2014年公路养护工作总结
2014/12/04 职场文书
书法社团活动总结
2015/05/07 职场文书
Python图片验证码降噪和8邻域降噪
2021/08/30 Python