Given: Which line of code, inserted inside the increment () method, will increment the value
of c?
A.
c++;
B.
c = c+1;
C.
c.addAndGet();
D.
c.getAndIncrement ();
Given: Which line of code, inserted inside the increment () method, will increment the value
of c?
A.
c++;
B.
c = c+1;
C.
c.addAndGet();
D.
c.getAndIncrement ();