Question: how would I go about making a copy constructor with the values _front, _rear and _size and make sure that it passes any tests that

how would I go about making a copy constructor with the values _front, _rear and _size and make sure that it passes any tests that are thrown to it this is what I have so far

public Queue() {

// To Implement

this._front = _front;

this._rear = _rear;

this._size = _size;

}

public Queue(Queue q) {

// To Implement

}

Step by Step Solution

3.41 Rating (148 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

public class Queue private int front private int rear private int size Default co... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Operating System Questions!