0
Any reason this dosent work in sololearn?
import java.io.Console; public class Program { public static void main(String[] args) { Console console = System.console(); console.printf("hello"); } }
2 Answers
+ 5
I did not know printf works in java.
+ 2
try print or println instead of printf, it might work