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.
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.
Re: Help with basic programing