我寫(xiě)了一些代碼。編譯時(shí)沒(méi)有問(wèn)題,提示“處理已完成”;但是按執(zhí)行,卻出現(xiàn)了Exception in thread "mian" java.lang.NullPointerException at HuffmanTree.indexOf(HuffmanTree.java:96)at HuffmanTree. contain(HuffmanTree.java:104)at HuffmanTree.<init>(HuffmanTree.java:16)at HuffmanTree.main(HuffmanTree.java:123)這些報(bào)錯(cuò)怎么看?哪里出問(wèn)題了,每一句后面的96 16 104 123是什么意思??教教我怎么看報(bào)錯(cuò)~謝謝了只剩下10分。求好心人
java報(bào)錯(cuò)怎么看?
ABOUTYOU
2018-07-11 14:14:19