Need help making a slot machine.

Joined
Nov 6, 2012
Messages
1
Reaction score
0
So I got started making this slot machine I still somewhat struggling with java but I am starting to get the hang of it. well I go so far as to get the majority of the Triple string done but the method part is giving me issues.Also im trying to figure out where to put in max_len into the class.

here it is,

public class slot {

/**
* @param args
*/
public static void main(String[] args) {
class TripleString {
private String string1;
private String string2;
private String string3;

public TripleString (String s1, String s2, String s3) {
string1 = s1;
string2 = s2;
string3 = s3;

public void setTripleString (String str1, String str2, String str3) {
}
string1 = str1;
string2 = str2;
string3 = str3;


}
}
}

}

Thnaks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,521
Members
44,995
Latest member
PinupduzSap

Latest Threads

Top