Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
~613 People Reached
Favorite Forums
Favorite Tags
java x 7
Member Avatar for java dummy

I'm trying to write a tic tac toe applet. Below is the code. I can't get it to line up in 3 rows of 3 and also it shows "win" as soon as 1 button is clicked. Any help would be appreciated. Thanks. import java.awt.*; import java.awt.event.*; import java.util.Random; import …

Member Avatar for and12
-1
96
Member Avatar for java dummy

I am trying to say " if a number is divided by 2 and the modulus is equal to 1" if(count/2% == 1) or if(%(count/2) == 1) It's not working. What am I doing wrong? Would really appreciate help. Thanks.

Member Avatar for java dummy
0
87
Member Avatar for java dummy

If I create a class to be used by an application how can I display some of the information from the class. I am using get and set for the information but as soon as I add the public static void line so I can have a display method everything …

Member Avatar for peter_budo
0
158
Member Avatar for java dummy

When I compile the program below I get the message "variable x may not have been initialized" yet as far as I see I did. I am trying to have a program where a person selects a number from 1 to 10 and it then shows the corresponding string from …

Member Avatar for cgeier
0
98
Member Avatar for java dummy

I'm trying to get a calculation done in a loop but don't want it to print until after all loop are done. It will print but the calculation isn't done. Please help. import java.util.*; public class FlipCoin { public static void main(String[] args) { String choiceString; final String HEADS = …

Member Avatar for BestJewSinceJC
0
174