我是Java EE Services的新手.在我的项目中,他们将使用JAX-WS和Apache CXF.我想知道什么是Apache CXF?我可以使用普通的JAX-WS来创建Web服务.我为什么要使用Apache CXF?
我需要解释下面的代码执行
public static void main(String[] args) {
Long tail = 2000L;
Long distance = 1999L;
Long story = 1000L;
if ((tail > distance) ^ ((story * 2) == tail))
System.out.println("a");
if ((distance + 1 != tail) ^ ((story * 2) == distance))
System.out.println("2");
}
Run Code Online (Sandbox Code Playgroud)
代码执行后,不会产生任何输出.