Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
4 Endorsements
Ranked #398
Ranked #13.9K
Ranked #4K
~7K People Reached
Favorite Forums

9 Posted Topics

Member Avatar for sciwizeh
Member Avatar for sciwizeh
2
891
Member Avatar for Jdan2388

here is the modified program very well made :) import java.util.Random; import javax.swing.JOptionPane; public class Pa { public static void main(String[] args) { JOptionPane .showMessageDialog( null, "Welcome to my Rock, Paper, Scissors game!\n John Acosta Java CIS 2235\n Chapter 4 pg 153\n press ok to play!"); int flag = 1; …

Member Avatar for Jaggs
0
896
Member Avatar for YiJun

fixed code: [CODE]import java.util.Scanner; import java.util.ArrayList; public class ItemList extends ArrayList<Item>{ //Array ArrayList<Item> Output = new ArrayList<Item>(); Scanner kb= new Scanner(System.in); String sort; double totP; public void addItem(){ //creates new item and adds to array String iname; int iquantity; double iprice; int isold; String inotes; String ilocation; String itype; System.out.println("Type …

Member Avatar for YiJun
0
2K
Member Avatar for jayadan

fixed it! [CODE]import java.util.Scanner; public class reverse { public static void main(String args[]) { String original = "hi how are you", reverse = "", nonrecurse = " ", delimitedReverse = ""; Scanner in = new Scanner(System.in); // System.out.println("Enter a string to reverse"); // original = in.nextLine(); int length = original.length(); …

Member Avatar for stultuske
0
285
Member Avatar for ilovejava

eclipse is not linked to the java libraries or they are not installed To setup Eclipse to use the JDK you must follow these steps. 1.Download the JDK First you have to download the JDK from Suns site. (Make sure you download one of them that has the JDK) 2.Install …

Member Avatar for designuts
0
2K
Member Avatar for softDeveloper

[code] import java.math.BigInteger; public class BigIntegerisProbablePrime { public static void main(String[] args) { BigInteger num1 = new BigInteger("3511"); isPrime(num1); BigInteger num2 = new BigInteger("3512"); isPrime(num2); } static void isPrime(BigInteger bi) { if (bi.isProbablePrime(15)) { System.out.println(bi.toString() + " is a prime number"); } else { System.out.println(bi.toString() + " is not a …

Member Avatar for softDeveloper
0
296
Member Avatar for Kert

can u post the whole code or the area where you declare the array list "array"

Member Avatar for DavidKroukamp
0
222
Member Avatar for Pravinrasal

[QUOTE=stultuske;1773836][Code=Java] Object[] row = new Object[3]; for ( int i = 0; i < 3; i++) row[i] = readObjectFromDB(); [/Code] if you don't know up front how many items there will be, use a List or a Collection. is your key stored in the DB?[/QUOTE] but he/she is talking about …

Member Avatar for stultuske
0
149
Member Avatar for yuyumerry

fix is [code] // DONUT text field private JTextField tfChocOreo = new JTextField("0"); private JTextField tfPeanut = new JTextField("0"); private JTextField tfStrawberry = new JTextField("0"); private JTextField tfVanilla = new JTextField("0"); private JTextField tfBlueberry = new JTextField("0"); // ADDITIONAL FOOD Text Field private JTextField tfCorn = new JTextField("0"); private JTextField …

Member Avatar for yuyumerry
0
387

The End.