Java 11 : repeat method example

repeat method accept a integer parameter and repeat variable that many time.

var test = " hello ";
System.out.println(test.repear(3));

Output:
hello   hello   hello

Comments

Popular posts from this blog

I get wrong characters when retreiving the message body of an email using TIdIMAP4.UIDRetrieveTextPeek2()

How to drop the all the 1's in a correlation matrix

Today Walkin 14th-Sept