Search:

Type: Posts; User: bogben

Search: Search took 0.15 seconds.

  1. Replies
    9
    Views
    4,111

    Re: What is wrong with my code? JAVA-Eclipse

    The public type Graps must be defined in its own file!
  2. Replies
    9
    Views
    4,111

    Re: What is wrong with my code? JAVA-Eclipse

    You can try this code!
    //Filename: CrapsGame.java

    import java.util.*;

    public class CrapsGame
    {
    public static void main(String[]args)
    {
    int die1,die2;
  3. Replies
    10
    Views
    25,702

    Re: Converting Hex to Decimal

    import java.util.Scanner;


    public class N70HexadecimaltoDecimalConverter {

    /**
    * @param args
    */
    //Class for powered
    public static int pow(int i, int powerNum) {
Results 1 to 3 of 3