您的位置:首页 > 职场人生

实习面试概念性问题准备

2014-02-09 04:04 232 查看
an object is a package of state and behavior.

Instanceof breaks abstractions and encapsulation. You should use polymorphism instead. 

Static type: how is a variable declared

dynamic type: what type has the object in memory when executing the program.

unchecked exception indicates an error which is highly unlikely and typically unrecoverable

checked exception indicates an error that every caller should be aware of and explicitly decide to handle or pass on.

virtual function 为啥用?

pointer

Overload vs. override

array vs linked list
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: