1/13
Looks like no tags are added yet.
Object
is an entity that represents an object or concept from the real world
Attributes
describes features of a class
null
null means a reference has not been assigned in a object
Instance variable
a variable declared within a class but outside any method, which holds unique data for each instance of the class and defines the state or characteristics of an object
Constructor
allow an object to be set up properly when it is first created
Constructor name
usually is the same name as the class
Methods
methods in a class typically are what actions you want to do
New Operator
assigns an instance a reference
No-args constructor
constructor with no parameters
Reference
is the hexadecimal address of where the object is stored in the computer’s memory during the program
void
doesnt return a value
accessor method
gives you access to private fields of an external class
Actual parameter
the values or expressions provided to a function or method when it is called
Formal Parameter
placeholders defined in the function signature or declaration