<code>System.out.println(obj)</code> calls
- A
obj.show()
- B
obj.print()
- C
obj.equals("")
- Dcheck_circle
obj.toString() implicitly
Explanation
<code>println</code> invokes <code>toString()</code> on the object.
AP Computer Science A· difficulty 3/5
<code>System.out.println(obj)</code> calls
obj.show()
obj.print()
obj.equals("")
obj.toString() implicitly
Explanation
<code>println</code> invokes <code>toString()</code> on the object.
Want 10 more like this — adaptive to your weak spots?