• 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

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/33

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

33 Cards in this Set

  • Front
  • Back
  • 3rd side (hint)
Class
A blueprint for an object
A ___ for an ___
Object
An instance of a class
An ___ of a ___
Object ((has))
variables and methods
___ and ___
Class Declaratation
Code that defines the class
___ that ___ the ___
Class Declaration ((code))
class ClassName { }
Child Class Declaration ((Code))
class MyClass extends ParentClass {}
Interfaced Class Declaration ((code))
class MyClass implements InterfaceClass {}
Feilds
Variables defined by class
___ ___ by ___
local variables
variables in method or code block
___ in ___ or ___ ___
parameters
variables in method declarations
___ in ___ ___
Access Modifiers
Control the access of other classes
___ the ___ of ___ ___
Package
Namespace organizing classes and interfaces
___ ___ ___ and ___
Package ((Code))
package packagename;
import
imports other packages
import ((code))
import importedpackage.Class;
default/no modifier (access modifiers)
accessible from same package
___ from ___ ___
private (access modifier)
only accessible by objects of same class
___ ___ by ___ of ___
public (access modifier)
accessible from all classes
___ to all ___
Method
A collection of statements that performs an operation
a ___ of ___ that ___ an ___
Six Components of a Method
Modifiers, Return Type, Method Name, Parameters, Exception List, Method Body
Method Names
verbWordWord
Overloading Methods
Using methods of the same name but different signature
___ ___ of the ___ ___ but ___ ____
Overriding Methods
when a child class method overrides the parent class method
___ a ___ ___ ___ ___ the ___ ___ ___
Contructors
create objects from the class blueprint
___ ___ from the ___ ___
Contructor ((return type))
no return type
Constructor ((Name))
Name of the Class
Constructor ((invocation))
new NameOfObject();
instantiating
creating a new object from a class
___ a ___ ___ from a ___
referencing an object's field
objectReference.fieldName
referencing an object's method
objectReference.methodName();
Class Variable
A field for the class as a whole
A ___ for the ___ as a ___
static
modifier keyword makes field/method common to objects of same class
Declaring Variables
modifiers type name;