The following println statement (the entire line) is equivalent to what? Point p1 = new Point(); ...

Question:

The following println statement (the entire line) is equivalent to what?

Point p1 = new Point();

...

System.out.println(p1);

a. System.out.println(toString(p1));

b. p1.toString();

c. System.out.println(p1.toString());

d. System.out.println(p1.string());

e. System.out.println(Point.toString());

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: