Win a copy of Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

OOP

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Develop a menu driven application from the following problem statement:
A user post a message which is directed to a mail box of the receiver after being greeted by the intended receiver greeting message. The posted message is saved to the appropriate mailbox. The maximum length of a message is only one text of line which is less or equal than 20 words. Otherwise, the message is terminated. If the mailbox is full, the sender is informed, and no message is recorded.
A receiver is notified if there is a new mail. A receiver can check if she/he has new recorded messages, if yes, she/he can read them. The receiver can delete his/her messages at anytime. The greeting message can be changed by the receiver. The receiver can activate/deactivate his/her mailbox anytime.
The application should allow to create new Mail boxes. The maximum number of mail boxes is 4.  A given mail box can only hold up to maximum 5 messages. Mail boxes are saved back to a data store (just a file).
The system is used by the following stake holders
1) Anyone who want to post a message
2) The people who has mail boxes
3) The application administrator
 
Marshal
Posts: 72950
330
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch

We don't supply solutions to assignments, but if you would like to show us what you have so far, we shall be pleased to help with any problems.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic