Search:

Type: Posts; User: Mvxexty1001

Search: Search took 0.15 seconds.

  1. [SOLVED] Re: Java class Person: with friend_data.txt issue:

    It compile with no error many thanks.

    --- Update ---

    The program will run until final output:


    error code:
  2. [SOLVED] Re: Does anyone know where I can find some info on where to start on this program?

    ex.:

    import java.util.*;
    import static java.lang.Math.PI;
    import java.lang.*;

    public class TankerTruck
    {

    public static int Main()
  3. [SOLVED] Re: Does anyone know where I can find some info on where to start on this program?

    No because I don't know what I am doing. I write c++ not java.
  4. [SOLVED] Re: Does anyone know where I can find some info on where to start on this program?

    ex.:

    import java.util.*;
    import static java.lang.Math.PI;
    import java.lang.*;

    public class TankerTruck
    {

    public static int Main()
  5. [SOLVED] Re: Does anyone know where I can find some info on where to start on this program?

    No "radius" is all wrong.
  6. [SOLVED] Re: Does anyone know where I can find some info on where to start on this program?

    I am here, where to next?

    ex.:

    import java.util.*;

    public class TankerTruck
    {

    public static int Main()
  7. [SOLVED] Re: Does anyone know where I can find some info on where to start on this program?

    Well I have got this far in the translation: but the user inputs are wrong, and I want to break the program up into a class and a tester.

    ex.:

    public class TankerTruck
    {
  8. [SOLVED] Re: Does anyone know where I can find some info on where to start on this program?

    I am basically converting a c++ file to java: I am new to java. I am just trying to convert it.

    C++ Code
  9. [SOLVED] Does anyone know where I can find some info on where to start on this program?

    Assume the tanker is a cylinder of length 19.35 feet and volume 1320 gallons. What is the
    diameter in feet of the tanker truck?
    To solve this problem, write a Java program to calculate the...
  10. [SOLVED] Re: Java class Person: with friend_data.txt issue:

    ex.:

    import java.io.File;
    import java.io.FileNotFoundException;
    import java.util.Scanner;
    import java.util.ArrayList;

    public class PersonTester {
    private static long[] theArrayName;
    ...
  11. [SOLVED] Re: Java class Person: with friend_data.txt issue:

    I am new at this, I have no idea what the line variable is: I just write code. Could you be more detailed? Please.
  12. [SOLVED] Re: Java class Person: with friend_data.txt issue:

    ex.:

    import java.io.File;
    import java.io.FileNotFoundException;
    import java.util.Scanner;
    import java.util.ArrayList;

    public class PersonTester {
    private static long[] theArrayName;
    ...
  13. [SOLVED] Re: Java class Person: with friend_data.txt issue:

    ex.:

    // your code goes here
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.util.Scanner;
    import java.util.ArrayList;

    public class PersonTester {
    private static...
  14. [SOLVED] Re: Java class Person: with friend_data.txt issue:

    ex.:

    import java.io.File;
    import java.io.FileNotFoundException;
    import java.util.Scanner;
    import java.util.ArrayList;

    public class PersonTester {
    public static void main(String[] args)...
  15. [SOLVED] Re: Person Class: with friend data text input compile error.

    2928

    Here is a screen capture of the error.

    The compiler is telling that
    String birthday = nameBirthdayname[1]; in line 36 is


    I am not sure what to do, have stared at this code for over...
  16. [SOLVED] Person Class: with friend data text input compile error.

    Write a Java program that reads in the data from the friends_data.txt file, allocates a new
    Person for each and then stores the newly created object in either an Array or an ArrayList.
    Next print...
  17. [SOLVED] Java class Person: with friend_data.txt issue:

    Your Tester class main method must use an array or an ArrayList of Person objects. It must
    be populated from a text data file, friends_data.txt. Add the following data to your text
    file,
    Michelle,...
Results 1 to 17 of 17