Java Games: Flashcards, matching, concentration, and word search.

Objects

AB
publicMethods and instance variables(fields) can be seen and used in other programs.
privateMethods and instance variables(fields) can only be used in the object in which they are defined.
staticMethods
classA software blueprint for defining objects.
objectAn instance of a class. i.e Book is the class and myBook is an instance of that class (Book myBook = new Book( ))
constructorsMethod for creating an object of a class. Classes can have many constructors. Accessed by the word 'new'.
accessorAny method that allows the user to get to information about the class but does not alter that information.
mutatorAny method that allows the user to set to or change information about the class.
nullThe absence of meaning. Does not point to any memory location.
parameterThe list of information coming into a method
argumentThe list of specific values going into a method. Listed in the ( ) when the method is called. Also called 'actual parameters'.
instance variablesThe adjectives of a class. They define what type of information goes out and comes into a class.
fieldsAnother name for instance variables.
testing programsThe programs written to see if a object is viable.
clientsThe programs written that use objects in them.
methodsA short program that accomplishes one task.
protectedA variable
primitiveA set of types pre-defined by java that does not need to adhere to the rules of Objects.
scopeThe region that the variable or method can be accessed.
signatureConsists of method name and list of parameters for the method.
method overloadingMore than one method of the same name but with different parameter lists.
referencesa pointer to a memory location. Used with objects (or instances of classes) but not primitives.
invokedcalled upon with actual parameters (arguments).
instantiateThe process of creating a new object and assigning it a value.


Linda Noss

This activity was created by a Quia Web subscriber.
Learn more about Quia
Create your own activities