Interview Questions

From Hawk Wiki
Revision as of 22:45, 16 February 2012 by Hall (Talk | contribs)

Jump to: navigation, search

Some Translation

n! Multiplicative

Object-oriented programming

Encapsulation

restricting access to some of the object's components
bundling of data with the methods
public and private data and methods.
A benefit of encapsulation is that it can reduce system complexity, and thus increases robustness, reduce risk of conflict between components.

Polymorphism

In C++, that type of polymorphism is called overloading. If a class has inherited a parent class, it can redefine a method and thus each class has a method with the same name but different functionality.

Inheritance