When I was reading the definition for Creational Design Patter in Wikipedia, have come across the following sentences.
Creational design patterns are further categorized into Object-creational patterns and Class-creational patterns. Where, Object-creational patterns deal with Object creation and Class-creational deal with Class-instantiation.
I was under the impression that Object Creation and Class Instantiation are one and the same. Are they same or Different? If they are different what will be the differences?
Happen to visit the following linke Got the answer.
http://sourcemaking.com/design_patterns
While class-creation patterns use inheritance effectively in the instantiation process, object-creation patterns use delegation effectively to get the job done.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With