Question: If a class in C++, Marathon, defines a method run(int a, int b), how would you call it for an instance of Marathon named Bob?
If a class in C++, Marathon, defines a method run(int a, int b), how would you call it for an instance of Marathon named Bob? Select an answer and submit. For keyboard navigation, use the up/down arrow keys to select an answer. a Bob.Marathon.run(a,b) b Marathon.Bob.run(a,b) Bob.Marathon->run(a,b) d Bob.run(a,b),Marathon e Bob.run(a,b)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
