Results 1 to 9 of 9
  1. #1
    fahadyousaf is offline Member
    Join Date
    Nov 2010
    Posts
    1
    Rep Power
    0

    Default Please help ....

    I am new to java, please help me to guide in this problem

    whenever save button pressed, it takes data from textfields and save into text file.

    Please ....any one help me.

    Regards,

  2. #2
    m00nchile is offline Senior Member
    Join Date
    Feb 2010
    Location
    Ljubljana, Slovenia
    Posts
    470
    Rep Power
    5

    Default

    What is the context of this problem? And more importantly, where is your effort to solve the problem? Post your try, ask specific questions. Help us help you.
    Ever seen a dog chase its tail? Now that's an infinite loop.

  3. #3
    al_Marshy_1981 is offline Senior Member
    Join Date
    Feb 2010
    Location
    Waterford, Ireland
    Posts
    748
    Rep Power
    5

    Default

    Magic Eight ball tell me his code..... what on earth are you looking for? post your code! you problem sounds like an easy fix!! but nobody with a bit of sense is gonna recommend anything without seeing your code first. Post what you have tried.

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    Quote Originally Posted by al_Marshy_1981 View Post
    Magic Eight ball tell me his code..... what on earth are you looking for? post your code! you problem sounds like an easy fix!! but nobody with a bit of sense is gonna recommend anything without seeing your code first. Post what you have tried.
    I agreed.

    I'm a member of this forum more than three years and I've seen thousand of such similar questions. Still I don't understand why people really behave like this. Are they trying to make their life easier without much worrying about themselves...and waiting to someone.

  5. #5
    al_Marshy_1981 is offline Senior Member
    Join Date
    Feb 2010
    Location
    Waterford, Ireland
    Posts
    748
    Rep Power
    5

    Default

    They either do not know how to ask a question or are spoofer's looking for answers and not making an effort

  6. #6
    zulkey is offline Member
    Join Date
    Nov 2010
    Posts
    2
    Rep Power
    0

    Default Need Help Please..

    hai..actually I'm a student..Old Student actually ( i taking part time course),
    i'm not so familiar to this java application....
    if someone here can help me to solve this probelem..please help me

    This is my problem.

    Consider the following Student class specification:

    public Student() //CONSTRUCTOR
    Initialized the attributes

    public String name ()
    This Studentís name

    public String address()
    This Studentís address

    public String matric ()
    This Studentís matric number

    public int creditHours ()
    Number of credit hours this Student enrolled in

    public int fees ()
    This Studentís fees for the semester

    public int feesPaid ()
    Amount this Student has paid so far for this semester

    public void changeName(String newName)
    Change the name of this Student

    public void changeAddress (String newAddress)
    Change the address of this Student

    public void changeMatric(String newMatric)
    Change the matric of this Student

    public void payFees(int amout)
    Pay specified amount of fees

    public void registerCourses(Course course)
    Register course(s) for this Student

    public void displayCourses(Course course)
    Display courses registered by this Student







    The methods registerCourses and displayCourses in the class Student use another class - class Course. The specification for the class Course is given below:

    public void registerCourses (String courses[], int numberOfCourses)
    Register the courses to this Student

    public void displayCourses()
    Display courses registered by this Student

    i. Write the complete program for the classes Student and Course above (Assume that the fees are $100 per credit hour, student can only register a maximum of 5 courses and minimum of 1 course per semester, all the attributes should be declared as private).
    ii. Test the above class program in a new class which has the main()method (your main() program should be interactive)


    Thank U All.,,

  7. #7
    al_Marshy_1981 is offline Senior Member
    Join Date
    Feb 2010
    Location
    Waterford, Ireland
    Posts
    748
    Rep Power
    5

    Default

    zulkey make a new thread with your own question, and if you really want help post what you have attempted in that thread, not your teachers skeleton of classes etc

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

    Default

    Agree with the comments above. Post in a new thread and use code tags when posting (see my first signature link), and most important, show us your attempt at a solution. This will show us where you need help, and more importantly will help you learn. Best of luck!

  9. #9
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

Posting Permissions

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