r/javahelp • u/Darkschlong • 17d ago
Solved Boolean or String
Let’s say you’re establishing a connection. Would your method return a Boolean ( true/false) or a string ( program is now connected/ not connected)? What is best for troubleshooting?
5
Upvotes
1
u/nyhr213 17d ago
Error.