GoConqr has a new look! Let us know what you think.

Flashcards

fak off

Jason Dang English 7 cards

Cards in this deck (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];

Information

Description
Flashcards on fak off, created by Jason Dang on 12/12/2019.
Created by
Jason Dang
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?