Arrays (Java Platform SE 6)
Also, that
while(true)
thing will almost certainly be an infinite loop. (Unless you have a break somewhere else.)
Also, you should probably have your Menu()...
Type: Posts; User: javapenguin
Arrays (Java Platform SE 6)
Also, that
while(true)
thing will almost certainly be an infinite loop. (Unless you have a break somewhere else.)
Also, you should probably have your Menu()...
Comparable is an interface.
If that class doesn't implement Comparable, then it can't be cast to that type.
You have posted pretty much no code.
Though I think you're casting something to be...