Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
I would like to complete this problem in the simplest way possible... P/S(Matt Gerans could u be more specific...as the book seems more likely to confuse me more and make me forget the little I have learnt....) > I suppose you could squeek the info into an array of length 27, assuming 'a' is at index 0 and so on (with index 26 being the catch all), but my guess is that your instructor may have intended this to be an exercise in using maps. Maps are often used to solve these categorizing problems. You can easily find such examples in the tutorials. You could also find an example of this exact problem in Bruce Eckel's Thinking in Java book, which you can get online for free at his web site. > - mfg > > > i.e. java CommandLine "all java applications contains a static main method." > > // MY PROBLEM HOW TO USE THE STRING ATTRIBUTES AND ARRAY ATTRIBUTES > > What should I do before I can call the method to main????? > >
Replies:
|
Sponsored Links
|