Results 1 to 3 of 3
  1. #1
    gem132 is offline Member
    Join Date
    Mar 2012
    Posts
    2
    Rep Power
    0

    Default Help with basic programing

    Im new to OO Can any1 help me with this pls

    1. You have been asked to design a repair management system for a computer repair company. List an objects you feel would be required and for each object, think of at least one variable and one method.

    Object
    Variable


    2. For each object described above, create a class diagram and write the code to create the class

    3. Create a Tester class which will create an object of each class, set the variable and call (use) the method.

  2. #2
    ozzyman's Avatar
    ozzyman is offline Senior Member
    Join Date
    Mar 2011
    Location
    London, UK
    Posts
    797
    Blog Entries
    2
    Rep Power
    4

    Default Re: Help with basic programing

    Your part 1 isn't actual programming. For part one, you need to think about all of the entities involved in a Computer-repair Management System, and then list all the fields and methods you think they would have e.g. Customer (name, address, phone), Employee (ID, name, address, phone, login name, password), Repair (ID, description, repair cost, timestamp).
    This would make up your class object definitions for the program.

    Once you've done that, create a class diagram (Introduction to UML 2 Class Diagrams) and then start coding each class.

    When you have trouble coding your classes then come back here and post your code with any problems/error messages you had with it.

  3. #3
    gem132 is offline Member
    Join Date
    Mar 2012
    Posts
    2
    Rep Power
    0

Similar Threads

  1. Java programing environment
    By alex30 in forum New To Java
    Replies: 3
    Last Post: 12-25-2011, 12:46 AM
  2. Regarding OS for Java Programing
    By Sanjeeva in forum Advanced Java
    Replies: 3
    Last Post: 01-19-2011, 06:57 PM
  3. Simple programing help.
    By koppojutsu in forum New To Java
    Replies: 12
    Last Post: 09-11-2010, 01:28 AM
  4. Hi, I am new to programing!
    By Zrob in forum Introductions
    Replies: 1
    Last Post: 09-14-2008, 05:38 AM

Posting Permissions

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