Virtusa Interview Question

Develop a Java program that prints repeated string in a paragraph