Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: java programming its so hard i need help please.

  1. #1
    Junior Member
    Join Date
    Dec 2012
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default java programming its so hard i need help please.

    Consider a CheckingAccount class, which has acctNo, name , balance, a status field to represent an active or inactive account, a minimum balance field, and a service charge field. If the balance of a checking account falls below the minimum balance, it becomes inactive. No withdrawals may be made until balance is raised above the minimum balance, at which time the account becomes active again. Create appropriate consturctors, accessors, and mutators for the CheckingAccount class. The class should also include the following methods:


    withdraw: a method that determines whether the account is inactive before a withdraw is made. (No withdraw will be allowed if the account is not active.) A withdrawal is then made.

    deposit: a method that determines whether the account is inactive before a deposit is made. If the account is inactive and the deposit brings the balance over the minimum balance, the account becomes active gain. A deposit is then made.

    getMonthlyStatement: a method that prints the account information at the end of each month. If the balance in the account were less than the minimum balance requirement, service fee would be charged. A getMonthlySatement is then made.



    ANYTHING WILL HELP PLEASE ...


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    21,952
    Thanks
    56
    Thanked 2,353 Times in 2,324 Posts

    Default Re: java programming its so hard i need help please.

    Post your code and ask some questions about your problems.
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Super Moderator curmudgeon's Avatar
    Join Date
    Aug 2012
    Posts
    1,130
    My Mood
    Cynical
    Thanks
    64
    Thanked 139 Times in 134 Posts

    Default Re: java programming its so hard i need help please.

    Please check the link to the Java tutorials that Norm posted in your other homework dump/question. Please show your work.

Similar Threads

  1. Hard time with Strings
    By Aboyordie in forum What's Wrong With My Code?
    Replies: 7
    Last Post: October 4th, 2012, 11:58 PM
  2. android programming vs game programming using java
    By vgoel38 in forum Android Development
    Replies: 4
    Last Post: September 8th, 2012, 06:48 PM
  3. Re: How hard would this be to write for a Beginner?
    By ronaldreinne in forum Java Theory & Questions
    Replies: 2
    Last Post: August 15th, 2012, 12:33 AM
  4. Replies: 0
    Last Post: December 12th, 2011, 03:17 PM
  5. new to java.... having a hard time trying to read code
    By Newbie_96 in forum Java Theory & Questions
    Replies: 2
    Last Post: August 6th, 2011, 02:51 AM