File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

adding integers dynamically to an array or arraylist

 
Komal Amaresh
Ranch Hand
Posts: 67
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sir,

I would like to add integers dynamically to an array or an arraylist. can you tell me a solution to take inputs from the user and display the entered values of size based on the values enterd by the user.I
give an option to press the space bar if the user wishes to stop and display the result.

thanking you

with regards,
komal
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15150
31
Android IntelliJ IDE Java Scala Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

This sounds like a homework assignment. Here at JavaRanch we are happy to help you, but you will have to do your own homework. If we would just write the program for you, you would not learn anything.

So, tell us what you've done yourself so far, show us your code, and then ask specific questions about the point where you got stuck.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic