System.out.print Where is the content of ()?
Here is an example to illustrate:
First of all, it is recommended to use the println () method, because this method has its own line feed, which seems very convenient.
With System.out.println (“list:”+ list.get (0)); for example
When the application runs here on the device, check the printout in logcat. As shown in the figure: