← Back to Kurakani

Need Help with college Java programming

Original Post

Last edited: 26-Mar-15 10:31 AM

problemsolver
Mar 25, 2015 3:27 PM · 17,465 views
8 Replies
prankster Mar 25, 2015 4:15 PM
It didn't format well, try this,http://www.codeshare.io/Su47r Last edited: 25-Mar-15 04:21 PM
problemsolver Mar 25, 2015 4:38 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,
prankster Mar 25, 2015 4:43 PM
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
problemsolver Mar 25, 2015 5:01 PM
I am still getting error on line 33, 52 and 53.
problemsolver Mar 25, 2015 5:20 PM
Hey Prankster, Finally the code ran, but the code is not asking user to input messages. It displays 10 message on its own.
prankster Mar 25, 2015 5:49 PM
Your question says, "Initialize your Array or ArrayList with the user input or messages", I initialized with messages.
ProblemSolver Mar 25, 2015 6:59 PM
Last edited: 26-Mar-15 10:32 AM
prankster Mar 25, 2015 7:25 PM
check the same link for updated code
Login to join the conversation.

You might be interested in...

Recent Classifieds View all
Upcoming Events View all
Service Providers View all
Ask Sajha AI Assistant