aspose file tools
The moose likes Beginning Java and the fly likes Printing out of an data stored in and array and SringBuffer array Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Printing out of an data stored in and array and SringBuffer array" Watch "Printing out of an data stored in and array and SringBuffer array" New topic
Author

Printing out of an data stored in and array and SringBuffer array

jon ladd
Ranch Hand

Joined: Feb 11, 2003
Posts: 53
I am now on the Case were want display my data. When I press 3 I want to display all the data that is stored in the arrays Jim and I have it so it displays the student names but when we try to do the Stringbuffer major it gives a weird print out. But since this is a stringbuffer don�t I have to change the to a string before I print it if so were would this go in the print heading. Also on the int arrayCredits how does that display i have tried a variety of steps and came up empty handed. Is what I have at all right now eve close? Thanks for any input.
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 965

What is:


Please ignore post, I have no idea what I am talking about.
jon ladd
Ranch Hand

Joined: Feb 11, 2003
Posts: 53
opps that not suppose to be there
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
I think that major[i].toString() could do the trick.


Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Alex McCormick
Ranch Hand

Joined: Mar 08, 2003
Posts: 31
Jon, what import statements are you using in this one? Just curious as I'm trying to compile this but I'm getting a ton of errors, so I'm assuming that I'm missing an API or something. thanks!
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Printing out of an data stored in and array and SringBuffer array
 
Similar Threads
Need some urgent help
Help with an array situation
Need Help with Indexes
storing an array in a meathod problem...
I cannot fix this program! if anyone can help!