Given two integer variables oldRecord and newRecord, write a statement that gives newRecord the same value that oldRecord has.

Given two integer variables oldRecord and newRecord, write a statement that gives newRecord the same value that oldRecord has.

LANGUAGE: JAVA

CHALLENGE:

Given two integer variables oldRecord and newRecord, write a statement that gives newRecord the same value that oldRecord has.

SOLUTION:

newRecord = oldRecord;

Add comment