public class One { public One(int theX) { x = theX; } private int x; } public class Two { public Two(int theX) { x = theX; } public String toString() { return "" + x; } private int x; public static void main(String[] args) { One o1 = new One(2); Two o2 = new Two(4); System.out.println(o1 + " " + o2 + " " + o2.toString()); } }
(a) Three integers. (b) Two references and one integer. (c) Three references. (d) One reference and two integers.
Select the most appropriate answer.