zglool
03-19-2007, 05:18 PM
عندي مشكلة في حل هذا السؤال و بدنا نشوف مين هم عباقرة الجافا في هذا الموضوع على أن
يتم إرسال حل السؤال التالي :-
Write a library book class as follows:
A class to represent a book in a library, such that the following operations can be processed:
- Each book has a number which is serial for all books.
- Loan the book to someone which represented as integer number.
- Mark the book as being reserved.
- Cancel a reservation on a book.
- Ask if a book can be loaned. A book can only be loaned if it is not already on loan or is not reserved.
- Return the book.
- to_String that display book number, and who loans the book if book in loan, and display if the book is reserved or not.
أرجو المساعدة في هذا الموضوع و ياريت لو في نسخة إلكترونية ترسل على الإيميل
i1i1-0@hotmail.com
ولكم جزيل الشكر
يتم إرسال حل السؤال التالي :-
Write a library book class as follows:
A class to represent a book in a library, such that the following operations can be processed:
- Each book has a number which is serial for all books.
- Loan the book to someone which represented as integer number.
- Mark the book as being reserved.
- Cancel a reservation on a book.
- Ask if a book can be loaned. A book can only be loaned if it is not already on loan or is not reserved.
- Return the book.
- to_String that display book number, and who loans the book if book in loan, and display if the book is reserved or not.
أرجو المساعدة في هذا الموضوع و ياريت لو في نسخة إلكترونية ترسل على الإيميل
i1i1-0@hotmail.com
ولكم جزيل الشكر
