Vocabulary
method (function, member function, procedure)
black box
modularization
stepwise refinement (revisited)
reusability
return type, return value(formal) parameter variable
argument (actual parameter)
parameter passing
variable scope: local, global
tracing code
stub
recursive methods
Common expressions are:
"call a method" or "call a function"
"return a value"
"pass a value as a parameter"
Topics
Vocabulary
array (1D, 2D, multi-dimensional)
Declaring an array
Initializing an array
Enhanced loop
Arrays class
Pass by value
Pass by referenceArrayList
Creating and declaring an ArrayList
Diamond syntax
Auto-boxing
Topics
You are required to know the vocabulary but you will not be asked to write code related to this topic.
Vocabulary
File
Ascii (text) file vs binary file
Opening a file
Closing a file
White space
Exception
Throwing an Exception
Catching an Exception
try-catch
Delimiter
Vocabulary
Object-oriented programming
Encapsulation
Public interface
Private implementation
Class
Object (instance of class)
Member (instance) variable
Instance method
Constructor
The keyword:new
Object reference
Null
reference
Mutator method (setter)
Accessor method (getter)
toString
method
Sending a message
Overloading
Class (static) method
Class (static) variables
Modifier (public, private)
this
reference
Unit testing
Topics
new
and a constructor
null
keyword and Null Pointer Exceptions
this