document.write('

A

[解析] 本题中,当这个程序所在的Java文件名为B.java时,运行结果为AB,否则,编译能通过,运行时 会出错,因为找不到程序的入口方法main。所以,选项A正确。

');