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

Karteikarten

fak off

Jason Dang Englisch 7 Karten

Karten in diesem Stapel (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];

Informationen

Beschreibung
Karteikarten am fak off, erstellt von Jason Dang am 12/12/2019.
Erstellt von
Jason Dang
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck