| Author |
Can not find my error ? Help
|
G. Graz
Ranch Hand
Joined: Oct 23, 2006
Posts: 30
|
|
I can not get my CharacterCount class to work correctly anyone have any ideas what I am missing ? Thank you for the help !
|
 |
Henry Wong
author
Sheriff
Joined: Sep 28, 2004
Posts: 16695
|
|
Does the class compile? If not, what is the compile error? If yes, then what is the class supposed to do, and what does it do? Henry
|
Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
|
 |
G. Graz
Ranch Hand
Joined: Oct 23, 2006
Posts: 30
|
|
Yes it does compile , This program reads a given text, outputs the text as is, and prints the number of lines and the number of times each letter appears in the text. An uppercase letter and a lowercase letter are treated as being the same; that is, they are tallied together.
|
 |
Joanne Neal
Rancher
Joined: Aug 05, 2005
Posts: 3011
|
|
Originally posted by Greg Grazioli: Yes it does compile , This program reads a given text, outputs the text as is, and prints the number of lines and the number of times each letter appears in the text. An uppercase letter and a lowercase letter are treated as being the same; that is, they are tallied together.
Is that what it actually does or what it is supposed to do ? If it is what it is supposed to do, then tell us what it actually is doing.
|
Joanne
|
 |
camilo lopes
Ranch Hand
Joined: Aug 08, 2007
Posts: 202
|
|
I don't see try {} and catch{} is required. See examples below:
|
Brazil - Sun Certified Java Programmer - SCJP 5
http://www.camilolopes.com/ About Java - Update every Week.
Guide SCJP - tips that you need know http://blog.camilolopes.com.br/livrosrevistaspalestras/
|
 |
 |
|
|
subject: Can not find my error ? Help
|
|
|