i have edited the details above ..
user is asked a question, to name 10 things...
those 10 things ... string.. must be later used to compare with .. the next input ..
means the same question is...
Type: Posts; User: sharpedge
i have edited the details above ..
user is asked a question, to name 10 things...
those 10 things ... string.. must be later used to compare with .. the next input ..
means the same question is...
yes i know about arraylist and array ! thats the trick ...
i don't have to use arraylist, array and even hash map :(
any other way ?
import java.util.Scanner;
public class Game {
public static void main (String arg[])
{
java.util.Random r = new java.util.Random();
int a = r.nextInt(4);