给定:publicclassTestSevenextendsThread{privatestaticintx;publicsynchronizedvoiddoThings(){intcurrent=x;current++;x=current;}publicvoidrun(){doThings();}}哪个说法是正确的?一个。编译失败。B.运行时抛出异常。C.同步run()方法将使类线程安全。D.变量“x”中的数据不受并发访问问题的影响。E.将doThings()方法声明为静态方法将使该类成为线程安全的。F.将doThings()中的语句包装在synchronized(newObject