I am currently working on a simple command line game which requires a random int generated (to pull out a random array entry). I am working within the NetBeans 6.5 IDE and I am having a small issue. Writitng this simple test snippet in NetBeans:
One would expect to get a different number between 0 and 4, wach time main is called? well no, in NetBeans it always returns 0. To be sure I tried compiling and running from the command line and wouldn't you know it, I get random numbers between 0 and 4. So whats going on here, can anyone point me in the right direction? I cant find Much on the web, if it is infact a NetBeans issue or must I set some parameters?
be a well encapsulated person, don't expose your privates, unless you public void getWife()!