|
-
October 24th, 2009, 08:37 AM
#1
Messenger code
pls give me a simple messenger code
-
October 26th, 2009, 08:03 AM
#2
Re: Messenger code
Code:
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...");
}
}
-
October 26th, 2009, 08:42 AM
#3
Re: Messenger code
that was really funny,,,,,depicting u completly
-
October 26th, 2009, 11:43 AM
#4
Re: Messenger code
What? It meets the requirements:
It is free and open source. Feel free to include it under the open GPL. (your welcome)
Not sure how much more simple I could have gotten with it. (sorry )
It takes a message and displays it. What more did you want it to do? (sorry, the specs were incomplete)
-
October 26th, 2009, 02:32 PM
#5
Re: Messenger code
 Originally Posted by ProgramThis
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
Please use [CODE]...your code here...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.
-
October 27th, 2009, 07:33 AM
#6
Re: Messenger code
 Originally Posted by dlorde
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 
 Originally Posted by dlorde
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|