[Show all top banners]

ProblemSolver
Replies to this thread:

More by ProblemSolver
What people are reading
Subscribers
:: Subscribe
Back to: Computer/IT Refresh page to view new replies
 Need Help with college Java programming
[VIEWED 7899 TIMES]
SAVE! for ease of future access.
Posted on 03-25-15 3:27 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

 

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

 
Posted on 03-25-15 4:15 PM     [Snapshot: 31]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

It didn't format well, try this,
http://www.codeshare.io/Su47r

Last edited: 25-Mar-15 04:21 PM

 
Posted on 03-25-15 4:38 PM     [Snapshot: 56]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

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,
 
Posted on 03-25-15 4:43 PM     [Snapshot: 60]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

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
 
Posted on 03-25-15 5:01 PM     [Snapshot: 70]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

I am still getting error on line 33, 52 and 53.
 
Posted on 03-25-15 5:20 PM     [Snapshot: 72]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Hey Prankster,

Finally the code ran, but the code is not asking user to input messages. It displays 10 message on its own.


 
Posted on 03-25-15 5:49 PM     [Snapshot: 105]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Your question says,
"Initialize your Array or ArrayList with the user input or messages", 
I initialized with messages.

 
Posted on 03-25-15 6:59 PM     [Snapshot: 135]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

 

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

 
Posted on 03-25-15 7:25 PM     [Snapshot: 158]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

check the same link for updated code
 


Please Log in! to be able to reply! If you don't have a login, please register here.

YOU CAN ALSO



IN ORDER TO POST!




Within last 200 days
Recommended Popular Threads Controvertial Threads
डीभी परेन भने खुसि हुनु होस् ! अमेरिकामाधेरै का श्रीमती अर्कैसँग पोइला गएका छन् !
शीर्षक जे पनि हुन सक्छ।
What are your first memories of when Nepal Television Began?
Sajha Poll: नेपालका सबैभन्दा आकर्षक महिला को हुन्?
ChatSansar.com Naya Nepal Chat
NRN card pros and cons?
Basnet or Basnyat ??
निगुरो थाहा छ ??
Nas and The Bokas: Coming to a Night Club near you
TPS Re-registration
अमेरिकामा छोरा हराएको सूचना
ओच्छ्यान मुत्ने समस्या ( confession )
susta manasthiti lai ke bhanchan english ma?
Returning to Nepal with us citizenship. Property ownership
Do nepalese really need TPS?
Breathe in. Breathe out.
Drawback for applying NRN card
nrn citizenship
Democrats are so sure Trump will win
My facebook archive (for sale)
Nas and The Bokas: Coming to a Night Club near you
Mr. Dipak Gyawali-ji Talk is Cheap. US sends $ 200 million to Nepal every year.
Harvard Nepali Students Association Blame Israel for hamas terrorist attacks
TPS Update : Jajarkot earthquake
NOTE: The opinions here represent the opinions of the individual posters, and not of Sajha.com. It is not possible for sajha.com to monitor all the postings, since sajha.com merely seeks to provide a cyber location for discussing ideas and concerns related to Nepal and the Nepalis. Please send an email to admin@sajha.com using a valid email address if you want any posting to be considered for deletion. Your request will be handled on a one to one basis. Sajha.com is a service please don't abuse it. - Thanks.

Sajha.com Privacy Policy

Like us in Facebook!

↑ Back to Top
free counters