Suppose a Computer class contains, along with other instance variables, a hardDrive string instance variable. Complete the following swapHardDrive method that swaps the calling object’s hard drive value with the passed-in parameter’s hard drive value.
public void swapHardDrive (Computer otherComputer){} // end swapHardDrive
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.