Given:
Which two lines of code when inserted in line 1 correctly modifies instance variables? (Choose two.)
A. cCount = setCCount(c);
B. setCCount(c) = cCount;
C. setGCount(g);
D. tCount = tCount;
E. aCount = a;
Given:
Which two lines of code when inserted in line 1 correctly modifies instance variables? (Choose two.)
A. cCount = setCCount(c);
B. setCCount(c) = cCount;
C. setGCount(g);
D. tCount = tCount;
E. aCount = a;
the question was indeed on the exam, I still don’t know what the supposed correct answer is
A, C, E work fine.
ambiguous question which to answer on the exam, as it says choose two