Which line of code, inserted inside the increment () method, will increment the value of c?

Given: Which line of code, inserted inside the increment () method, will increment the value
of c?

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 ();



Leave a Reply 0

Your email address will not be published. Required fields are marked *