Not sure if i should post this here, but i need a little in java programming
If they ask u to take in Volunteer nric and availability as the parameter, how should i write it in a class diagram or in the code parameter?...
the volunteer is a class.
So u're talking about 2 variables here right?
A String "nric" variable, and a boolean variable for "availability". Both are variables in the Volunteer class.
Whats so hard about that?