0
Program analysis
Is passing an argument to a function is call fetch or store?
2 Réponses
+ 1
if I understood your question correctly then :
it depends on the logic of function defination or implementation you given . for example: the get ,set functions:
set(id,marks); is a call to function
void set(int id, int marks){
this.id = id;
this.marks=marks;
}
will set id and marks values in the program..
while the call
getid(); will return id value by the function
int getid()
{
return id;
}
getMarks() will return marks by the function
int getMarks(){
return marks ;
}
you can fetch values or store values (in database also)..
hope it helps...
+ 5
Your question is not clear give little bit morr information