<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/** An instance wraps a pair (q, r) of integers */
public class Wrap2 {
    int q; // The two wrapped integers
    int r;
    
    /** Constructor: An instance that wraps (q, r) */
    public Wrap2(int q, int r) {
        this.q= q;
        this.r= r;
    }
    
    /** = the wrapped pair */
    public String toString() {
       return "(" + q + ", " + r + ")";   
    }
    
}</pre></body></html>