• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to add number of digit in array

 
vineet walia
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please help me out

what i want is ...

1.user enter no of digit of tat number
2.thn use enter tat number

so i want to store tat number in array..
please help me out i try some code but unable to do
>
 
Anbarasu Aladiyan
Ranch Hand
Posts: 182
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check line
Also line number 14 as well
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15219
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This question does not seem to be directly related to the SCJP exam, so I am moving it to a more appropriate forum.
 
Campbell Ritchie
Sheriff
Posts: 48652
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't understand the question. Do you want to store '0', '1', '2', etc in an array? If you look at the String class, there are all sorts of useful methods which make your taks much much easier.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic