Search:

Type: Posts; User: freestylpolaris

Search: Search took 0.13 seconds.

  1. Re: First Java class. Cannot figure out programming assignment. Please help.

    Resolved it; had to add another buffer in the driver class for calculating the int. All that trouble for just one buffer statement to fix it all. Thank you everybody for your help.
  2. Replies
    7
    Views
    490

    Re: Beginning java help

    Well the user will enter dd/mm/yyyy. So it should be a value of -6 since I only want the yyyy. I have tried that as well though and it doesn't work. I have tried: (""), (0), (1), and (6). None of...
  3. Replies
    7
    Views
    490

    Re: Beginning java help

    public class Asset
    {

    //*****************************************************
    // Variables
    //*****************************************************

    private String assetID;
    private...
  4. Replies
    7
    Views
    490

    Re: Beginning java help

    Ok, I understand the buffer but the calcAge method; it doesn't even let the user enter data. As soon as it gets to that input those errors automatically arise. It does not even ask the user to input...
  5. Replies
    7
    Views
    490

    Beginning java help

    Hi all. I am trying to run a method called "calcAge" that takes a mm/dd/yyyy string, converts it to an int, and then ONLY takes the yyyy part. Once the yyyy part is isolated I must then subtract it...
  6. Re: First Java class. Cannot figure out programming assignment. Please help.

    public class Asset
    {
    private String assetID;
    private double cost;
    private int lifeExpectancy;
    private String employeeID;
    private String purchaseDate;
    private String description;
    ...
  7. First Java class. Cannot figure out programming assignment. Please help.

    have a program assigned to me for school and have no idea where to start. I don't know what it is about classes and objects but it loses me. This is what I have to make the program do:
    ...
Results 1 to 7 of 7