New to this.
Can someone please give me a simple example of how to use a toString method to return a two integers and a string? Hopefully people know what I mean. Any help greatly appreciated.
Feldman700
Printable View
New to this.
Can someone please give me a simple example of how to use a toString method to return a two integers and a string? Hopefully people know what I mean. Any help greatly appreciated.
Feldman700
A method can only return one thing. Therefore you cannot return 2 ints and a String. You can return a single String that has the 2 ints concatenated onto the end of the String.