Because my teacher wants us to code our own code which means we can't use java's api other than arraylist. we had to make our own arraylist class from array. and i get that, i'm just making a simple...
Type: Posts; User: steel55677
Because my teacher wants us to code our own code which means we can't use java's api other than arraylist. we had to make our own arraylist class from array. and i get that, i'm just making a simple...
I'll go ahead and try that. I think I should be able to implement/extend ArrayList class. Thanks
Yes, that code is exactly what I want. I want an arraylist of arraylist. But, I don't know how to generate generic arraylist so that the names aren't predefined. The name of the arraylist is whatever...
Thanks, I tried to do it last night. This is my map currently.
public class OwnMap<Key,Value>{
static private Object Key, Value;
public OwnMap(Object Key, Object Value){
...
Hi,
How do you create ArrayList for individual items like this:
Object str = "A"
ArrayList<Objects> str = new ArrayList<Objects>();
I'm making my own Hashmap but I don't know how to create...