arpit2309
October 24th, 2009, 08:37 AM
pls give me a simple messenger code
|
Click to See Complete Forum and Search --> : Messenger code arpit2309 October 24th, 2009, 08:37 AM pls give me a simple messenger code ProgramThis October 26th, 2009, 08:03 AM public class Message { public void send(String message) { System.out.println(message); } public static void main(String args[]) { Message m = new Message(); m.send("I should write my own code..."); } } :D arpit2309 October 26th, 2009, 08:42 AM that was really funny,,,,,depicting u completly ProgramThis October 26th, 2009, 11:43 AM What? It meets the requirements: pls give me It is free and open source. Feel free to include it under the open GPL. (your welcome) a simple Not sure how much more simple I could have gotten with it. (sorry :blush: ) messenger code It takes a message and displays it. What more did you want it to do? (sorry, the specs were incomplete) dlorde October 26th, 2009, 02:32 PM What more did you want it to do? (sorry, the specs were incomplete) I suppose you could have called it 'Messenger'. Perhaps you may have jumped to a conclusion about what the specified messenger code should do, but it's impossible to tell... The most important single aspect of software development is to be clear about what you are trying to build... B. Stroustrup ProgramThis October 27th, 2009, 07:33 AM I suppose you could have called it 'Messenger'. You're right! How could I have missed that: he wanted a 'messenger' not a 'message'. Silly me :blush: The most important single aspect of software development is to be clear about what you are trying to build... B. Stroustrup On queue as always :lol: codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |