Home » Java » java – 2 attributes or more in one textView-Exceptionshub

java – 2 attributes or more in one textView-Exceptionshub

Posted by: admin February 25, 2020 Leave a comment

Questions:

I have a class User with this constructor.

public User(String name, String address, String city) {…..}

and I want to put all of them in one textView, like this.

name - address - city

Is it possible?

How to&Answers: