Generalization:
The concept of generalization in OOP means that an object encapsulates common state and behavior for a category of objects.
Example: The geometric shape is an object and most geometric shapes have area, perimeter, and color.
Specialization:
The concept of specialization in OOP means that an object can inherit the common state and behavior of a generic object. However, each object needs to define its own special and particular state and behavior.
Example: Each geometric shape has its own color and particular formulas to calculate its area and perimeter.
The concept of generalization in OOP means that an object encapsulates common state and behavior for a category of objects.
Example: The geometric shape is an object and most geometric shapes have area, perimeter, and color.
Specialization:
The concept of specialization in OOP means that an object can inherit the common state and behavior of a generic object. However, each object needs to define its own special and particular state and behavior.
Example: Each geometric shape has its own color and particular formulas to calculate its area and perimeter.
1xBet Korean | Sports Betting in Kenya 2021 - Legalbet
ReplyDelete1xBet Korean is an online betting platform that หารายได้เสริม was established in 2015. The 바카라사이트 1xBet is a sports betting and casino 1xbet with live games.