a program module that contains series of statements that carry out a task.
Method (to-do)
to execute a method.
it provides the information about how other methods interact to each other.
Method header
Declaration
Method header
it contains the statements that carry out the work of the method.
Method body
Method Body
An empty method is called _____.
stub
describes the type of data the method sends back to its calling method.
Return type
A method that returns no data has a return type of ____.
void
can be any legal identifiers.
Identifier or Method Name
it might contain data to be sent to the method.
Parenthesis
data items you use in a calling method
Arguments
method that receives the data items
Parameters
parameter type & parameter identifier
the type of the method that is returned
Method’s type
is to visualized the system.
Unified Modelling Language or UML –
There are 3 parts of UML Class Diagram:
One java file.