Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Read data from a text file for a hotel

  Asked By: Fern    Date: Jul 13    Category: Java    Views: 1554
  

I was hoping someone might be able to point me in the right direction
on how to do the following.

As part of an assignment on Hashmaps and Inheritance, I need to read
data from a text file for a hotel, tokenize it and put it into a
hashmap and depending on the number of tokens 10 or 12 treat them as
either
business guests or travelling guests each of which are subclasses of
the superclass guest.

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Jaime Bowman     Answered On: Jul 13

I was hoping someone might be able to point me in the right direction
on how to do the following.

As part  of an assignment  on Hashmaps and Inheritance, I need to read
data from a text  file for a hotel, tokenize  it and put  it into a
hashmap and depending on the number  of tokens 10 or 12 treat them as
either
business guests or travelling guests each of which are subclasses of
the superclass guest.

 
Didn't find what you were looking for? Find more on Read data from a text file for a hotel Or get search suggestion and latest updates.




Tagged: