we use System.out.println to display a string.such as " hello world" but we may also pass
an object as the argument of the println method and as a result a diferent message describing the object is printed.
my question is how does it distinguish between the string object i want to print intact and any other object i pass (such as an exception).


LinkBack URL
About LinkBacks






Reply With Quote