Page 2 of 2 FirstFirst 12
Results 21 to 35 of 35
Like Tree2Likes

Thread: Java Assignment

  1. #21
    MichaelF144 is offline Member
    Join Date
    Apr 2012
    Posts
    18
    Rep Power
    0

  2. #22
    MichaelF144 is offline Member
    Join Date
    Apr 2012
    Posts
    18
    Rep Power
    0

    Default Re: Java Assignment

    0.75%?

  3. #23
    jlczuk is offline Senior Member
    Join Date
    Apr 2012
    Location
    New York State of Confusion, USA
    Posts
    137
    Blog Entries
    1
    Rep Power
    0

    Default Re: Java Assignment

    I'm sorry, I can't help you with this. If you don't even know how to represent 7.5% as a decimal value, there isn't much I can do.

    For what it is worth 1% is .01 right, 7% is .07 right? So 7.5% is .075 right?

    Good luck.

  4. #24
    MichaelF144 is offline Member
    Join Date
    Apr 2012
    Posts
    18
    Rep Power
    0

    Default Re: Java Assignment

    explains why im asking for help but anyway ill find people that wanna help

  5. #25
    Wnt2bsleepin is offline Senior Member
    Join Date
    Feb 2012
    Posts
    219
    Rep Power
    3

    Default Re: Java Assignment

    How far are you? Have you completed the first task of creating the constructor? Also, please use [Code] tags when you are giving us code. Makes it easier to read.

  6. #26
    MichaelF144 is offline Member
    Join Date
    Apr 2012
    Posts
    18
    Rep Power
    0

    Default Re: Java Assignment

    im struggling with the whole thing but apparently im an idiot and i just dont know how to do it

  7. #27
    Wnt2bsleepin is offline Senior Member
    Join Date
    Feb 2012
    Posts
    219
    Rep Power
    3

    Default Re: Java Assignment

    Let's tackle the first part. You need to create a constructor, that defines how the class is created. You need to have it take three arguments. How would you go about doing that? Remember your code tags please.

  8. #28
    MichaelF144 is offline Member
    Join Date
    Apr 2012
    Posts
    18
    Rep Power
    0

    Default Re: Java Assignment

    well i think to declare a constructor i write

    Investment i1 = new Investment

  9. #29
    Wnt2bsleepin is offline Senior Member
    Join Date
    Feb 2012
    Posts
    219
    Rep Power
    3

    Default Re: Java Assignment

    You need to actually code the constructor itself. The statement you wrote creates a new instance of that class, but to do that you need a constructor inside the class.

    Java Code:
    Investment(double mthlyInvest, double rate, double time)

  10. #30
    MichaelF144 is offline Member
    Join Date
    Apr 2012
    Posts
    18
    Rep Power
    0

    Default Re: Java Assignment

    mmm i seee, okay so then i put the values in

  11. #31
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default Re: Java Assignment

    Sorry, you're not going to like this advice, but from your posts above, it doesn't appear that you are stupid but rather that you've not read and studied your notes or text yet, and that's what is making it so hard for us to be able to help you. I think that you should do that or the intro to Java tutorials that have already been linked to first. Otherwise this is going to be one long, hard and frustrating slog for you and for us.
    DarrylBurke and jlczuk like this.

  12. #32
    MichaelF144 is offline Member
    Join Date
    Apr 2012
    Posts
    18
    Rep Power
    0

    Default Re: Java Assignment

    ok sorry guys posted on the wrong forum, i didnt realise u guys were so smart i need a more baby style forum good luck guys

  13. #33
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default Re: Java Assignment

    Quote Originally Posted by MichaelF144 View Post
    ok sorry guys posted on the wrong forum, i didnt realise u guys were so smart i need a more baby style forum good luck guys
    No, you need to put in some work first as you can't learn programming without this. Learning programming is a lot like learning math. We can't teach you multiplication if you don't know addition. Read the books and tutorials, learn some basics, then we'll be able to help you better.

  14. #34
    MichaelF144 is offline Member
    Join Date
    Apr 2012
    Posts
    18
    Rep Power
    0

    Default Re: Java Assignment

    thats why i asked cause i find programming very difficult

  15. #35
    Wnt2bsleepin is offline Senior Member
    Join Date
    Feb 2012
    Posts
    219
    Rep Power
    3

    Default Re: Java Assignment

    Quote Originally Posted by MichaelF144 View Post
    thats why i asked cause i find programming very difficult
    It's difficult. It's not necessarily the way we usually think, you have to learn it. Understand the basics. I, and others, are willing to help but you need to have a basic understanding first.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. java assignment
    By drewjordan in forum New To Java
    Replies: 9
    Last Post: 01-15-2012, 11:44 PM
  2. Java Assignment Help
    By nve5009 in forum New To Java
    Replies: 4
    Last Post: 04-27-2011, 06:36 AM
  3. Need Help with Java Assignment
    By smurf67 in forum New To Java
    Replies: 4
    Last Post: 03-26-2011, 10:25 AM
  4. Help me please (Java assignment)
    By cris_carriaga in forum Java Applets
    Replies: 4
    Last Post: 10-06-2010, 04:11 PM
  5. My java assignment -- please help me !
    By java_beginner1 in forum New To Java
    Replies: 11
    Last Post: 05-20-2010, 04:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •