• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

String Length

 
anchit pancholi
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

i am trying below code :-




i am not getting output of above code nor exception. but length function gave me correct answer i.e. 52001 . and i am able to write output in file but not able to show through System.out.println() at console ;

can someone help me to determine what went wrong ?

Thanks
Anchit
 
Kemal Sokolovic
Bartender
Posts: 825
5
Java Python Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There might be a limitation on the length of output that can be printed for the console (if you are using IDE like NetBeans or Eclipse that is probably it).
 
anchit pancholi
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for help i was using eclipse .
 
Rajdeep Biswas
Ranch Hand
Posts: 216
1
Eclipse IDE Java Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[quote = Anchit Pancholi]
Are you trying to create a new race of Strings in the po0ol ! Kidding....;) Kemal said it right
 
Gihan Pandigamage
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
use this

instead of

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic