bluej Flashcards
instance
object
object bench
the area at the bottom part of the screen where the objects are
name of classes
Capital letters
name of objects
lower case letters
invoke
a method.
objects usually do something.
operations
methods
parameters
methods can have parameters to provide additional information for a task.
–defines a TASK and a NAME
header
viktig markering av var klasskoden börjar och heter.
the header of a method is called it’s SIGNATURE. it provides information needed to invoke that method.
data type
parameters have types.
the type defines what type of value a parameter can take.
comment
above method signature
multiple instances
many different objects can be created from the same class.
state
objects have a state.
– represented by storing values in fields.
object inspector
shows the state of an object
java refers to objects attributes as
fields
fields
are defined within a class