题目描述 单选 下列哪个选项的代码能判断字符串x是否为"nihao"? A. if (x == "nihao") B. if (x == 'nihao') C. if (x = 'nihao') D. if (x = "nihao")