What are the abstract data types?

0

That such a community, as you can see, I am new to this programming, I am beginning with the logic of programming someone could explain to me in a brief or simple way what they are and how abstract data types are executed

    
asked by uriel.neftali aceves soto 26.11.2017 в 15:34
source

1 answer

0

They are Father classes where methods are considered that their development is not yet known. It will only be known in some class, Daughter. These methods are known as abstract methods and use the reserved word abstract for identification.

When a Parent Class contains at least one abstract method it is known as Abstract Class and must also be preceded by the reserved word abstract .

These classes may also have non-abstract methods that invoke methods abstract if they need it to define a behavior. However, you can not instantiate objects by invoking the constructor of the abstract base class.

Daughter classes must develop all abstract methods of the Father class. In addition, the Daughter class can redefine any method of the Parent class, with the same name. They can even use the keyword super to refer to any method of the same name that is defined in the Parent class.

In the operation of the polymorphism, the concept of "late binding" can be identified, which consists in the fact that the method to be executed at the time of execution will be known, but not in the compilation.

    
answered by 26.11.2017 в 15:52