Question: Which statement is not true about the toString() method? options: It is public. It is not static. It prints a String about the object. It
Which statement is not true about the toString() method?
options:
|
|
It is public.
|
|
|
It is not static.
|
|
|
It prints a String about the object.
|
|
|
It returns a String.
|
|
|
It allows an object to be printed using System.out.print() method.
|
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
