我尝试在以下代码中找到excel
中的列数,但是我遇到了问题。请帮助我。
public NaiveBayesBinary(String[] data) throws IOException
{
BufferedReader br = new BufferedReader(new FileReader("D:/dd2.txt"));
String line = null;
while ((line = br.readLine()) != null)
{
System.out.println(line.length());
}
}