A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Joined: May 12, 2004
Nov 26, 2004 14:41:00
Me using the
library from Java for O.O programming, but i am not quite sure one 3 little things
1.Can i assign the data into a specific slot E.g "banana" a
into slot 3?
2.How do i add a data, do i use "add.xXxX"? or use "set", in O.O prgramming environment?
3.How do i recall the data from a specific slot? Using the example in #1.
Waiting for reply & Thanx in advance
Joined: Aug 31, 2004
Nov 26, 2004 19:28:00
Refer to the API for
In particular, note the methods:
add(int index, E element)
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award."
Joined: Dec 10, 2001
Nov 27, 2004 22:40:00
Moving this to the Intermediate forum...
How To Ask Good Questions
JavaRanch FAQ Wiki
I agree. Here's the link:
Removing from an array
Imbricated loops in jsp page
Logic iterate and vo
question about jess templates
Displaying a table in JSP using JSTL tags
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014