The Artima Developer Community
Sponsored Link

Java Answers Forum
how to read the line

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
yi

Posts: 3
Nickname: ching
Registered: Aug, 2002

how to read the line Posted: Sep 9, 2002 6:43 PM
Reply to this message Reply
Advertisement
text file:

Zebra ZEBRA Alfalfa Zebra Jalapeno Jalapeno Jalapeno
Alfalfa Hamburger
Fries Alfalfa

If the user types in 1 then the program would print:

The words that occur exactly 3 times are: Alfalfa, Jalapeno


use the Collection hierarchy.

the program must consider uppercase and lowercase letters to be different when reading the input.

------------------
how to do the Collection ~@@~
i have try that
but result is error

Topic: Can't make my bat file run a class Previous Topic   Next Topic Topic: Apache Fop Library: NoClassDefFoundError

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use