in C++, I can do it by:

void getParam(int *width, int *height);
int width, height;
getParam(width, height);



but how can I do it in JAVA because JAVA does not accept point?