¡GoConqr estrena diseño! Cuéntanos qué te parece.

Fichas

fak off

Jason Dang Inglés 7 fichas

Fichas del conjunto (7)

  1. 1AbstractionConcerning yourself with what something does rather than how it does it
  2. 2Procedural AbstractionSpecify the actions that should be performed, hiding algorithms
  3. 3Data abstractionSpecify the data data objects for a program, hiding representation
  4. 4classes in inheritance relationships-To use instances of some Object class, you need to extend and be in the same package
    -Child inherits all variables and methods from parent
    -Private variables needs getter/setter methods to access
  5. 5Java Interfaces-use keyword "implements"
    -A contract that must be completed (whatever implements the interface has to finish the empty methods)
    -Can have static methods, abstract methods, static final variables
  6. 6Abstract Classes-Usually has one or more abstract methods inside, which has no implementation yet
    - Another class must "extends" the abstract class to implement the abstract methods
    -Can have other regular methods which can be implemented within the abstract class (constructor and instance variables)
    -Cannot create an instance of an abstract class
  7. 7Arrays- type [] name = new type[size];
    -name.length for size
    -name[#] = whatever, to add
    -Can be a 2d array,
    type [][] name = new type [row][col];

Información

Descripción
Fichas sobre fak off, creado por Jason Dang el 12/12/2019.
Creado por
Jason Dang
Visitas
0
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?