> In Java, how do you create a program that generates a name with a random number?

In Java, how do you create a program that generates a name with a random number?

Posted at: 2014-12-18 
For instance, the name Bob and a random number ranging from 10 to 100. Any suggestions?

You have to generate another random number, and then make a lot of if statements that assign each number to an actual name.

Example: if (i == 11){

name = "Bill";

} etc...

You can't randomly generate letters together that will create a name. Well, you can, but you might get some sounding weird names. I guess eventually if you generate enough, you could eventually randomly generate something that constitutes as a name...in english. As for the random generated number with limits, see link below

http://stackoverflow.com/questions/52715...

For instance, the name Bob and a random number ranging from 10 to 100. Any suggestions?