-
Replied To a Post in ObjectOutputStream and ArrayList
In your load methods you read the file into a local arraylist then return. The arraylist is then discarded. You pass a parameter, but you never use that either. You … -
Replied To a Post in HELPPPP
That's a very good question! You set the size of an array when you create it, and it can never be changed. So your main options are: 1. Ask the … -
Replied To a Post in multiple generic array
I don't know of any way (others may know better?), but I'm curious as to why you want to do that. You will still need to test and cast anything … -
Replied To a Post in HELPPPP
Line 19. On each pass of the loop you create a new array (which will have all nulls as its data) and thus lose all the previous data. You need … -
Replied To a Post in Help needed for my java assignment!
DaniWeb Member Rules (which you agreed to when you signed up) include: "Do provide evidence of having done some work yourself if posting questions from school or work assignments" http://www.daniweb.com/community/rules … -
Replied To a Post in Accessing local variable
Yes, its possible. But without seeing your code and some more detail on exactly what you need to do, it's not possible to give an exact answer. -
Replied To a Post in Instant dropdown when typing a method, variable, class etc...
Eclipse has "content assist" and "autocomplete" that do things like listing valid method names when you start to program a method call, or providing shortcuts for common text like `System.out.println(` … -
Replied To a Post in Update Embedded Database - Need a second set of eyes on code
I'm no SQL expert, but it's my understanding that SQL tables are *sets*, with no physical or intrinsic ordering that you can use or rely on. You can only specify … -
Replied To a Post in Remove zeroes from an array w/o creating new array
ObSys: This entire thread is about removing entries from arrays. You posted "if you remove a 0 from the array, Java replaces it with the default value, 0.". That statement …
The End.