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

面试题 相关文章推荐
如何将字串String转换成整数int
Feb 21 面试题
类、抽象类、接口的差异
Jun 13 面试题
写出二分查找算法的两种实现
May 13 面试题
南京某软件公司的.net面试题
Nov 30 面试题
网上常见的一份Linux面试题(多项选择部分)
Feb 07 面试题
你经历的项目中的SCM配置项主要有哪些?什么是配置项?
Nov 04 面试题
介绍一下Python中webbrowser的用法
May 07 面试题
Python的两道面试题
Jun 29 面试题
介绍JAVA 中的Collection FrameWork(及如何写自己的数据结构)
Oct 31 面试题
Java基础知识面试题
Mar 25 面试题
高级Java程序员面试要点
Aug 02 面试题
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
Snoopy类使用小例子
2008/04/15 PHP
php权重计算方法代码分享
2014/01/09 PHP
Laravel使用scout集成elasticsearch做全文搜索的实现方法
2018/11/30 PHP
laravel5.6框架操作数据curd写法(查询构建器)实例分析
2020/01/26 PHP
BOOM vs RR BO5 第一场 2.14
2021/03/10 DOTA
原生javascript图片自动或手动切换示例附演示源码
2013/09/04 Javascript
一看就懂:jsonp详解
2015/06/01 Javascript
JavaScript中利用Array和Object实现Map的方法
2015/07/27 Javascript
解决angular的$http.post()提交数据时后台接收不到参数值问题的方法
2015/12/10 Javascript
BootStrap中的table实现数据填充与分页应用小结
2016/05/26 Javascript
jQuery右下角悬浮广告实例
2016/10/17 Javascript
js调用父框架函数与弹窗调用父页面函数的简单方法
2016/11/01 Javascript
基于JQuery及AJAX实现名人名言随机生成器
2017/02/10 Javascript
JS实现按钮控制计时开始和停止功能
2017/07/27 Javascript
Django+Vue.js搭建前后端分离项目的示例
2017/08/07 Javascript
解决vue热替换失效的根本原因
2018/09/19 Javascript
小程序视频或音频自定义可拖拽进度条的示例代码
2018/09/30 Javascript
微信 jssdk 签名错误invalid signature的解决方法
2019/01/14 Javascript
js实现带积分弹球小游戏
2020/07/21 Javascript
VUE Elemen-ui之穿梭框使用方法详解
2021/01/19 Javascript
基于JavaScript实现轮播图效果
2021/01/02 Javascript
[05:26]2014DOTA2西雅图国际邀请赛 iG战队巡礼
2014/07/07 DOTA
详解python使用递归、尾递归、循环三种方式实现斐波那契数列
2018/01/16 Python
python编程培训 python培训靠谱吗
2018/01/17 Python
python基础梳理(一)(推荐)
2019/04/06 Python
python点击鼠标获取坐标(Graphics)
2019/08/10 Python
一文解决django 2.2与mysql兼容性问题
2020/07/15 Python
Python爬虫之App爬虫视频下载的实现
2020/12/08 Python
长曲棍球装备:Lacrosse Monkey
2020/12/02 全球购物
师范生自我鉴定范文
2013/10/05 职场文书
公司口号大全
2014/06/11 职场文书
2014年村计划生育工作总结
2014/11/14 职场文书
联谊会开场白
2015/06/01 职场文书
JavaScript数组reduce()方法的语法与实例解析
2021/07/07 Javascript
nginx常用配置conf的示例代码详解
2022/03/21 Servers
手把手带你彻底卸载MySQL数据库
2022/06/14 MySQL