read data from a file in java

后端 未结 5 1139
被撕碎了的回忆
被撕碎了的回忆 2021-01-17 04:32

I have a text file in the following format:

Details.txt

The file is a .txt file. I want to read course title from this file and print corresponding textbook

5条回答
  •  礼貌的吻别
    2021-01-17 05:17

    Use String Tokenizer and separate each string and then store them in a Linked List or Array List. Have Separate List for each title like course title, instructor etc. and then print them

提交回复
热议问题