GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Folien

Ohne Titel

José Emmanuel Diez Rivera Spanisch 6 Folien

Folien in diesem Satz (6)

  1. Folie 1

    • Technological University of Gutierrez Zamora.
    • ICT
    • FINAL PROJECT
    • TEACHER
    • Alberto Avedaño Muños
    • Members of team:
    • Diez Rivera José Emmanuel
    • Ontiveros Esteban De Jesús
    • 210-A
    • ​​​​​​​18/08/2017
    • UNIVE
  2. Folie 2

    • ABSTRACTION
  3. What is Abstraction?

    • What is Abstraction?
    • Class abstraction is a way for a class to force any other class that extends it to implement specific methods. The parent class is called an abstract class, the child class we will call a concrete class, and the methods a concrete class must implement are called abstract methods.
    • For our purposes, abstract is a generalized concept and concrete is a specific implementation of the abstract
  4. A Few Important Things to Remember:

    • The first thing to remember is that any class that has at least one abstract method, is an abstract class.
    • The second thing to remember is that an abstract class can not be instantiated, you must instantiate the concrete class.
    • The third thing to remember is that abstract methods do not implement the method, they only provide the abstract for the concrete class to implement.
  5. Concept:

    • Classes defined as abstract can not be instantiated and any class containing at least one abstract method must be defined as such. Methods defined as abstract simply declare the method signature, but can not define the implementation. When inherited from an abstract class, all methods defined as abstract in the parent class declaration must be defined in the child class; In addition, these methods must be defined with the same (or less restrictive) visibility. For example, if the abstract method is defined as protected, the implementation of the function must be defined as protected or public, but never as private.
  6. References:

    • - https://www.phpclasses.org/blog/post/285-What-is-Class-Abstraction-in-PHP.html
    • - http://php.net/manual/es/language.oop5.abstract.php

Informationen

Beschreibung
Folienset am Ohne Titel, erstellt von José Emmanuel Diez Rivera am 16/08/2017.
Erstellt von
José Emmanuel Diez Rivera · Aug 2017
Aktualisiert
16 Aug 2017
Aufrufe
1
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck