0

Program analysis

Is passing an argument to a function is call fetch or store?

26th Nov 2021, 1:24 PM
Kakai
Kakai - avatar
2 Antworten
+ 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...
26th Nov 2021, 7:28 PM
Jayakrishna 🇮🇳
+ 5
Your question is not clear give little bit morr information
26th Nov 2021, 1:36 PM
A S Raghuvanshi
A S Raghuvanshi - avatar