i guess it's possible in java 11. why it:s showing error?
package com.codegym.task.task01.task0114;
/*
CodeGym. Learn once - use anywhere
*/
public class Solution {
public static void main(String[] args) {
//write your code here
String s = "CodeGym. Learn once - use anywhere";
System.out.println(s.repeat(10));
}
}