Weitere ähnliche Inhalte Ähnlich wie OOP in 10 minutes (20) Kürzlich hochgeladen (20) OOP in 10 minutes1. OOP in 10 minutes
An introductory topic to OOD
Sameh Deabes
3. How to write a novel in Russian?
• Characters
• Words
• Phrases
• Paragraphs
• Syntax
• Eloquence = بالغة
• Literature = أدب
• Novels = روايات
4. How to write programs like novels?
• Programming language:
• Characters, Numbers, syntax
• Methods, modules
• OOP
• OOD
• Design Patterns
• Enterprise Architecture Patterns
• Integration patterns
5. Concepts of OOP I - Abstraction
• Abstraction = تجريد
• Simulating real-world objects in computer world
• The ability to classify (create classes/blueprints + objects)
• الشيء هو ليس الشيء وصفك
6. Concepts of OOP II - Encapsulation
• Encapsulation = كبسلة=كبسولة في
• data hiding
• access modifiers: public, private, protected, internal, protected internal
• hide implementation details
7. Concepts of OOP III - Inheritance
• Inheritance = وراثة
• Sharing data and functionality from parents
8. Concepts of OOP IV - Polymorphism
• Polymorphism poly = ,متعدد -morphism = أوجه
• Many forms @ runtime depending on context
9. Concepts of OOP IV – Polymorphism (Cont’d)
• Types of polymorphic behavior
• inheritance/interface polymorphism
• Overloading
• Generics [parametric polymorphism]
• Reflection