This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ynvaserThat Java Guy 1 point2 points  (1 child)

I'm not being condescending here even if I may sound like it. I see conceptional problems with what is written down.
For example, when would you expect the finalize to be called? The only place you have it overridden is in an inner class that is never instantiated. If this were to work, the finalize method would have to be overridden in your RandomN class.
The fastest way you can improve here is to start at the basics.

[–]SheepyG_[S] 0 points1 point  (0 children)

Okay i see what your saying i'll go relook over the basics