I think these are not project questions. You can find the answers to these questions in you java book.
Anywayz ... here are some hints.
Parameters are values that are passed to functions for the function to use those values. e.g, public void function(int a){} ... here int a is a parameter.
You can get yourself going by reading further about passing parameters by value, and passing by reference.
No we dont always need to store the value returned by a function but it is not usually a good programming practice.
array passing is done like this. public void function( int []a){}
nanosani
Unauthenticated Liar
1,830 posts since Jul 2004
Reputation Points: 45
Solved Threads: 56