![]() |
![]() |
![]() |
![]() |
![]() |
|
public class class name {
public static return type method name
(data type 1 parameter 1,
...,
data type l parameter l) {
declaration 1
...
declaration m
statement 1
...
statement n
}
}
void in place of an ordinary data-type declaration.
class name.method name(ordinary arguments)