# if结构 能正确打印出 `CSDN` 的代码是: ## 答案 ```java int count = 0; if (1 == count) { System.out.println("Hello World"); } else System.out.println("CSDN"); ``` ## 选项 ### A ```java int count = 0; if (1 = count) { System.out.println("Hello World"); } ``` ### B ```java String name = "CSDN"; if ("CSDN" != name) { System.out.println("CSDN"); } else System.out.println("Hello World"); ``` ### C 所有都不是