Study your flashcards anywhere!

Download the official Cram app for free >

  • Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

How to study your flashcards.

Right/Left arrow keys: Navigate between flashcards.right arrow keyleft arrow key

Up/Down arrow keys: Flip the card between the front and back.down keyup key

H key: Show hint (3rd side).h key

A key: Read text to speech.a key

image

Play button

image

Play button

image

Progress

1/36

Click to flip

36 Cards in this Set

  • Front
  • Back

Additive

Color model where mixing leads to brighter colors

Argument

Values used in a method call to pass data into the method

Base case

Boolean expression that will end a recursive loop

Cast

Way to convert between variable types

Class

Definition / blueprint of an object

Comments

Statements that are not executed

Constructor

Unique method with the same name as a Class. Called when the new keyword is used to create an instance of the class

Encapsulation

Defining an object in a class and hiding complexity using access control

Field

Member variable of a class

Getter

Public method for returning the value of a private field

Inheritance

Technique allowing one class to inherit the fields and methods of another class

Instance

Newly created object

Interface

Description of what an implementing object can do

Iterate

To move through a loop once

Local variable

Declared inside a method, scope is limited to that method

Method signature

The name and parameter list of a method

Overloaded function

Method with the same name, but different parameters

Overridden function

Method in a subclass with the same method signature as a superclass method

Parameter

Input variables to a method, part of the method signature

Polymorphism

Ability to treat an instance of a sub-class as the super-class type

Pop

To remove an item from a stack

Programming language

Syntax and semantics that make up an instruction set for computation

Push

To place a new item on a stack

Recursion

Defining a method with respect to itself

Primitive variable

Variable that represents a single value

Reference variable

Variable that is a pointer to an instance of a class

Scope

Level of access a variable has in the program

Semantics

Meaning of symbols used in a language

Setter

Public method to set the value of a private field

Sub-class

Class extending from a super-class inheriting all fields and methods

Super

Keyword to reference the super-class and referencing the constructor and methods of the super-class

Super-class

Class extended from by sub-class

Syntax

Structure of symbols in a language

This

Keyword for referring to an instance of an object

Type

Specifies what type a variable is, may be primitive or reference

void

Special keyword for stating that a method will return nothing