2016 普华永道面试题
来源:互联网 发布:中山大学网络缴费 编辑:程序博客网 时间:2024/06/07 10:24
1. JAVA
* OVERLOAD VS OVERRIDE
> OVERLOAD
Among parameter type, number and sequence should have at least one different;
Can't overload functions those just have different return value, parameter should also have differences;
Can be used in parent , child and peer class.
> OVERRIDE
The function name, parameters and return values should keep the same;
Can not override function defined as a final one;
Can be used in parent and child class;
In child class, the override function can't diminish the access authority to method defined in parent class.
Also, in child class, the override function can't throw more exceptions than methods in parent class did.
Override show polymorphism between parent and child, Overload show polymorphism between peer class.
* STRING VS STRINGBUFFER VS STRINGBUILDER
> String value can not be changed ; ->private final char value[];
> StringBuffer and stringbuilder value can be changed ; ->char[] value;
It's better to use stringbuilder for source without thread. More efficient than stringbuffer.
But if has thread involved, should use stringbuffer to ensure thread can be safe.
* HOW TO UNDERSTAND OBJECT-ORIENTED CONCEPT IN JAVA
Encapsulation, Inheritance, polymorphism
2. JAVASCRIPT
* HTML5 NEW FEATURES
1. New Doctype
2. No more types for scripts and links
3. The semantic for header and footer
4. Hgroup
5. Mark Element
6. Figure Element
7. Small Element Redefined
8. PlaceHolder
9. Required Attribute
10. Autofocus Attribute
11. Audio support
12. Video support
13. Preload attribute in video element
14. Display control
15. Regular Expression
From http://www.csdn.net/article/2012-02-21/312179
* <DIV> VS <IFRAME>
* HOW TO CREATE FUNCTION FOR OBJECT IN JS
* HTTP PROTOCAL
* GET VS POST
> Get is used to get data from the server, and POST is used to transfer data to server;
> Post is much safer than Get, for Get, the data is placed in the request of URL, some private data in URL may be seen by the third party. Also, user can see the submitted data from browser directly. As for POST, all operation is invisible.
> The amount of data transmitted by GET is much smaller than POST, mainly due to the limitation of the length of URL. Then, POST can be used to transmit a large amount of data, so it can be used to upload file.
* WEBSTORAGE & JSON
- 2016 普华永道面试题
- 华为2016机试题
- 华为2016校招机试题
- 2016校招面试题汇总
- 青软实训2016校招面试题
- 华为2016春招机试题
- 2016android面试题
- 腾讯2016面试题
- 2016亚信笔试题
- ios面试题2016
- iOS面试题 2016
- 滴滴2016面试题
- 2016 广联达面试题4
- 2016广联达面试题5
- 2016华为机试题
- 京东2016机试题
- Google 2016面试题
- 面试题汇总(2016)
- 3、javascript脚本语言
- android-async-http 源码流程浅析
- ajax和jquery传输数据
- C#中RestoreDirectory属性
- 13. 通用的操作系统功能库(1)
- 2016 普华永道面试题
- 看,这个工具栏能伸缩折叠——Android CollapsingToolbarLayout使用介绍
- 关于分布式事务、两阶段提交协议、三阶提交协议
- 关于H264中I帧,P帧的判断
- 会声会影打开则停止运行的解决方法
- 13.2节练习
- Linux kernel的中断子系统之(一):综述
- netstat Recv-Q和Send-Q
- java.io.IOException: Prepare failed.: status=0x1