java

Java Program to Generate Random Names!

In this post, I will show you how to write a simple Java Program to generate Random First & Last Names and print them on the screen. I am going to use the Java Random library to generate the names. So, let’s see how to do it.

Here is the complete Java code to print Random Names:

Output:

Hope this program is useful for your requirement. Visit back our blog for more Tutorials on Java Programming.

 

 

 

Related Posts

Leave a Reply