Un-Answered Questions { Software Design }

What is difference between encapsulation and abstraction?

574


Difference between encapsulation and data hiding ?

513


Difference between abstraction and implementation hiding ?

585


What are the features of encapsulation ?

563


Difference between composition and inheritance ?

552


Are constructors inherited? Can a subclass call the parent's class constructor? When?

570


Can we reduce the visibility of the inherited or overridden method ?

612


Does a class inherit the constructor of its super class?

520


What is the difference between factory and strategy design pattern?

558


Can we make the reference instance non static?

549


Give me example of observer design pattern?

634


What design pattern wrapper classes implement?

619


What is the difference between builder and composite?

618


Shall we use abstract classes or interfaces in policy / strategy design pattern?

605


What is the difference between factory and builder design pattern?

509