java - How to display 10000 digits in Eclipse console? -
stringbuilder sb = new stringbuilder(); for(int =0; i<8000; i++){ sb.append("5"); } biginteger bi = new biginteger(sb.tostring()); system.out.println(bi);
i'm unable display such huge number on console(using eclipse). also, getting timeout huge numbers. kindly in displaying huge numbers on console.
in preferences of eclipse, go
window > preferences > run/debug > console
uncheck option
"limit console output"
that allows print unlimited lines. if want limit lines ...use option
"console buffer size"
Comments
Post a Comment