FileReader is already defined in this compilation unit error Java

后端 未结 2 757
猫巷女王i
猫巷女王i 2021-01-26 17:08

So I\'m working on reading in a \".txt\" file to use it to implement Dijkstra\'s algorithm, but every time I try to compile it gives me a \"FileReader is already defined in this

2条回答
  •  南方客
    南方客 (楼主)
    2021-01-26 17:19

    Just rename your class "FileReader" to different toxicity, in order not to be confused.

提交回复
热议问题