how to repeat string n times in java

how to repeat string n times in java
/**
 * @author lautturi.com 
 * Java example: repeating string n times
 */

import java.util.*;

public class Lautturi {
	public static void main(String[] args) {

		String str = "lau";
		int n = 3;
		String repeatedStr =  str.repeat(n);
		System.out.println("repeated String :" + repeatedStr);
	}
}
Sou‮cr‬e:www.lautturi.com

output:

repeated String :laulaulau
Created Time:2017-09-28 17:35:08  Author:lautturi