java - How to return a string -


i have question, have created method tostring(), want method print out 2 strings int[] , char. while using string.format(), how 1 go this?

one quick way print out guys, includes

@override public string tostring() {   return string.format("%s %c", java.util.arrays.tostring(intarray), mychar); } 

but knows if output want? devil's in details of desired output. question very incomplete, vague. please consider giving more of important details of you're trying achieve , how current code or doesn't work.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -