Question: Exception in thread main java.lang.ExceptionInInitializerError at Enemy.main(Enemy.java:78) Caused by: java.lang.IllegalArgumentException: bound must be positive at java.util.Random.nextInt(Random.java:388) at Ghost.(Ghost.java:7) ... 1 more C:UserscwcisAppDataLocalNetBeansCache8.2executor-snippets un.xml:53: Java returned:

Exception in thread "main" java.lang.ExceptionInInitializerError at Enemy.main(Enemy.java:78) Caused by: java.lang.IllegalArgumentException: bound must be positive at java.util.Random.nextInt(Random.java:388) at Ghost.(Ghost.java:7) ... 1 more C:\Users\cwcis\AppData\Local\NetBeans\Cache\8.2\executor-snippets un.xml:53: Java returned: 1 BUILD FAILED (total time: 0 seconds)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!