Previous: Requirements RevisedNow see how easy to move from Glossary to object design. Immediately we can identify our business entity/*** represents a Message which can have Text*/public class Message {String text;}What we also need is an object which we can ask to create new Message and to retrieve list of Messages. You may call it MessageFactory, MessageManager or MessageHome. Now I’ll call it
Tidak ada komentar:
Posting Komentar