From my understanding, this is an example of variable declaration:
int variable;
and this is an example of variable initialization:
variable = 2;
Together, we can both declare and initialize a variable as such:
int variable = 2;
For methods, we have similar constructs:
abstract int method(int param);
and
int method (int param) {
return param;
}
but instead we call the former a method prototype and the latter a declaration.
Edit:
Another example would be as follows:
static int differentMethod(int param);
public static void main (String[] args) {
...
}
static int differentMethod(int param) {
...
}
Edit 2: Ignore the example immediately above as it's not supported in Java (but something similar exists in C).
Is there such a thing as method initialization?