Need Help with college Java programming
Last edited: 26-Mar-15 10:31 AM
It didn't format well, try this,http://www.codeshare.io/Su47r
Last edited: 25-Mar-15 04:21 PM
Hi Prankster:
I get following error while running the code, can you help which should be the main.
Error: Main method not found in class shoutOutCannedMessage.ShoutBoxTest, please define the main method as:
public static void main(String[] args)
Thanks,
Comment out line 1, and save lines from 2-56 in Shoutbox.java
Comment line 59, and save lines from 60 to 68 in ShoutBoxTest.java
compile both
and run ShoutBoxTest.java
I am still getting error on line 33, 52 and 53.
Hey Prankster,
Finally the code ran, but the code is not asking user to input messages. It displays 10 message on its own.
Your question says,
"Initialize your Array or ArrayList with the user input or messages", I initialized with messages.
Last edited: 26-Mar-15 10:32 AM
check the same link for updated code
Please log in to reply to this post
You can also log in using your Facebook
What people are reading
You might like these other discussions...
· Posts 18
· Viewed 4054
· Likes 3
· Posts 77
· Viewed 18823
· Likes 18