Search:

Type: Posts; User: justforeva

Search: Search took 0.23 seconds.

  1. Replies
    6
    Views
    931

    Re: Can anyone help?

    It doesn't say what the error is, but can't get it correctly.
  2. Replies
    6
    Views
    931

    Re: Can anyone help?

    import java.io.*;

    public class EchoSum extends Echo
    {

    public EchoSum (String datafile) throws IOException
    {
    super(datafile);
    }
  3. Replies
    6
    Views
    931

    Can anyone help?

    Suppose an external file is made up entirely of integers. In the model we've been using in this unit, the file is actually read in, line by line, as a sequence of Strings. Using a StringTokenizer...
  4. Replies
    2
    Views
    5,527

    [SOLVED] Re: I dont know how to complete this code?

    super.print();
    System.out.println("GPA: " + gpa);
  5. Replies
    4
    Views
    1,631

    Re: Question about my code

    Oh, I think I mean to switch the largest = nums[j], so it should be nums[j] = largest
  6. Replies
    4
    Views
    1,631

    Question about my code

    The code box below includes a live int array variable called nums, whose declaration and initialization is hidden. The elements in this array are distinct. What is the largest element in the array?...
  7. Replies
    6
    Views
    1,057

    Re: Please solve my problem

    When I put my code into Java, it said that: 3275
    My code should return a number of divisions. :confused:
  8. Replies
    6
    Views
    1,057

    Re: Please solve my problem

    When I put my code into Java, it said that: 3275
    My code should return a number of divisions. :confused:
  9. Replies
    6
    Views
    1,057

    Re: Please solve my problem

    Yea!!Sorry that! I got the general idea for this question, can I post my answer and get some advices?

    --- Update ---

    I don't know why my answer still not currect;

    public int halfCount(int...
  10. Replies
    6
    Views
    1,057

    Please solve my problem

    Write a public method called halfCount, which is passed an int as a parameter and which performs successive (integer) divisions by 2 until 0 is reached. The method returns the number of divisions...
Results 1 to 10 of 10