在它开发的某个时候,当它在模拟器中启动时,我就开始让它崩溃,消息"Foo停止了“。: Unable to instantiate activity ComponentInfo{root.fazerumsom/root.fazerumsom.MainActivity}: java.lang.NullPointerException(ActivityThread.java:2233)
at android.app.ActivityThread.access$800(ActivityThrea
我正在尝试从一个.txt文件中读取,该文件包含学生的名字、姓氏和平均值。我试图读取数据并将其存储在对象数组中,但是,我遇到了以下异常: at bubblesort.Bubblesort.readin(Bubblesort.java:34)
at bubblesort.Bubblesort.main(Bubblesort.java<