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

面试题 相关文章推荐
Sony C++笔试题
Mar 10 面试题
请写出 BOOL flag 与"零值"比较的 if 语句
Feb 29 面试题
database面试题
Mar 28 面试题
Oracle的内存结构(Memory structures)
Jun 10 面试题
TCP/IP中的TCP和IP分别承担什么责任
Apr 21 面试题
傲盾软件面试题
Aug 17 面试题
Linux文件操作命令都有哪些
Jul 23 面试题
Linux面试经常问的文件系统操作命令
Nov 05 面试题
nohup的用法
Aug 10 面试题
XML文档定义有几种形式?它们之间有何本质区别?解析XML文档有哪几种方式?
Jan 12 面试题
什么是封装
Mar 26 面试题
史上最全面的Java面试题汇总!
Feb 03 面试题
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
PHP5+UTF8多文件上传类
2008/10/17 PHP
php开发工具有哪五款
2015/11/09 PHP
CodeIgniter针对数据库的连接、配置及使用方法
2016/03/03 PHP
laravel学习教程之存取器
2016/07/30 PHP
jquery maxlength使用说明
2011/09/09 Javascript
js中关于一个分号的崩溃示例
2013/11/11 Javascript
jQuery的观察者模式详解
2014/12/22 Javascript
JavaScript 链式结构序列化详解
2016/09/30 Javascript
jquery控制页面的展开和隐藏实现方法(推荐)
2016/10/15 Javascript
jquery UI Datepicker时间控件冲突问题解决
2016/12/16 Javascript
使用vue与jquery实时监听用户输入状态的操作代码
2017/09/19 jQuery
BootstrapTable加载按钮功能实例代码详解
2017/09/22 Javascript
微信小程序自定义组件封装及父子间组件传值的方法
2018/08/28 Javascript
vue实现移动端省市区选择
2019/09/27 Javascript
[02:05]2014DOTA2西雅图国际邀请赛 BBC第二天小组赛总结
2014/07/11 DOTA
python的Template使用指南
2014/09/11 Python
python测试驱动开发实例
2014/10/08 Python
python操作列表的函数使用代码详解
2017/12/28 Python
python 寻找list中最大元素对应的索引方法
2018/06/28 Python
关于Pytorch的MLP模块实现方式
2020/01/07 Python
Python实现快速大文件比较代码解析
2020/09/04 Python
python统计mysql数据量变化并调用接口告警的示例代码
2020/09/21 Python
python-地图可视化组件folium的操作
2020/12/14 Python
全球领先的鞋类零售商:The Walking Company
2016/07/21 全球购物
意大利香水和化妆品购物网站:Parfimo.it
2019/10/06 全球购物
俄罗斯便宜的在线服装商店:GroupPrice
2020/04/10 全球购物
医院实习介绍信
2014/01/12 职场文书
国际经济与贸易专业大学生职业规划书
2014/03/01 职场文书
《小动物过冬》教学反思
2014/04/17 职场文书
求职信怎么写范文
2014/05/26 职场文书
上海世博会口号
2014/06/19 职场文书
教师节倡议书
2014/08/30 职场文书
党的群众路线教育实践活动对照检查材料(四风)
2014/09/27 职场文书
教师个人培训总结
2015/02/11 职场文书
2015年初三班主任工作总结
2015/05/21 职场文书
vue 实现弹窗关闭后刷新效果
2022/04/08 Vue.js