Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~530 People Reached
Favorite Forums
Favorite Tags

5 Posted Topics

Member Avatar for lrolsto1

Hello lrolsto1. You need to consider the values your variables are getting in every iteration through the while loop. The problem is, that a variable is taking null value in some iteration of the while loop, thus resulting in a NullPointerException being thrown. So you need to check the values …

Member Avatar for BhagatS
0
102
Member Avatar for icke2433

Indeed there must be the problem in using System.out.println instead of System.out.print in the inner loop.

Member Avatar for petrisal
0
112
Member Avatar for Austinjs0102

Dear, initialization means giving some starting value to the variables you declare. If we don't initialize variables, they may contain any unpredictable value. This often leads to wrong results. So if your compiler is reporting that your variable is uninitialised, just initialise them with some starting value.

Member Avatar for Grn Xtrm
0
163
Member Avatar for miasuhyla

sun tutorials are good. It will be good to spend some hours on studying about arrays, classes etc. instead of directly attempting to somehow complete the assignment. Then you may visit this website (or any similar) [url]http://www.exampledepot.com/[/url] for code examples. Best of luck.

Member Avatar for BhagatS
0
100
Member Avatar for BhagatS
Member Avatar for quicktpgo
0
53

The End.