Let me repeat myself

A very short Java blog.

I’ve been writing haiku for the past month, to take a break from technical blog writing. I thought I would get back into writing technical blogs with a really short Java blog. The code example pictured about demonstrates the repeat method that was added to the String class in Java 11. The code above outputs the following.

Bart Simpson would have loved to have this API when he was forced to write a sentence on the chalk board one hundred times describing something he would not do.

That’s it. That’s the blog. I hope you enjoyed this short technical Java blog.

I am a Project Lead and Committer for the OSS project at the . is open for . If you like the library, you can let us know by starring it on GitHub.