I think your requirements are only a little bit more complicated than my example.
My doThing1() method, for you, should take no parameters, but prompt a user for input and return a String such as...
Type: Posts; User: KevinWorkman
I think your requirements are only a little bit more complicated than my example.
My doThing1() method, for you, should take no parameters, but prompt a user for input and return a String such as...
I don't know, say you have these two methods:
public void doThing1(){
//thing 1
}
public void doThing2(){
//thing 2
}
If you want a single method, can't you just call the other two methods from that single method?
I'm really not sure what this method is supposed to be doing. Why are you getting user input in the middle of converting hard-coded input?
You're were closer when you had things split up into...