This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes how to add number of digit in array Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how to add number of digit in array " Watch "how to add number of digit in array " New topic

how to add number of digit in array

vineet walia
Ranch Hand

Joined: Feb 16, 2008
Posts: 138
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

Joined: Jun 02, 2009
Posts: 182

check line
Also line number 14 as well

Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15037

This question does not seem to be directly related to the SCJP exam, so I am moving it to a more appropriate forum.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 45286
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.
I agree. Here's the link:
subject: how to add number of digit in array
It's not a secret anymore!