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

Why can rails not find a route created by a helper? -

javascript - jquery or ashx not working -

php - Redirect and hide target URL -