import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
class Word{
static String word_target;
static String word_explain;
Word(){}
Word(String target, String explain){
word_target = target;
word_explain = explain;
}
String getWord_target(){
return this.word_target;
}
void setWord_target(String str){
this.word_target = str;
}
String getWord_explain(){
return this.word_explain;
}
void setWord_explain(String str){
this.word_explain = str;
}
}
public class File {
public static void main(String[] args) {
ArrayList<Word> arrayWord = new ArrayList<>();
try{
BufferedReader br = new BufferedReader(new FileReader(“E:\dictionaries.txt”));
String content = br.readLine();
while (content != null) {
String[] word = content.split("\t");
content = br.readLine();
Word w = new Word(word[0], word[1]);
arrayWord.add(w);
/System.out.println(w.getWord_target() + “+” + w.getWord_explain());
System.out.println(arrayWord.get(0).getWord_target() + “-”);/
}
int no = 1;
System.out.println(“No” + ‘\t’ + “|English” + “\t\t” + “|Vietnamese”);
for (Word w : arrayWord){
System.out.println(no + “\t” + “|” + w.getWord_target() + “\t\t\t” + “|” + w.getWord_explain());
no++;
}
}
catch (IOException e){
e.printStackTrace();
}
}
}
Trên là code của em.
Trong file kia của e chứa:
| Hello | Xin chao |
|---|---|
| Dog | Cho |
Nhưng tại sao khi e in ra mảng mà chỉ toàn Dog và Cho thôi v?
E đang bế tắc :(((

Bạn xem lại cách in nhé, muốn in cộng chuỗi với nhau thì phải sử dụng 
83% thành viên diễn đàn không hỏi bài tập, còn bạn thì sao?