本题选D,内存图如下-----------------------------------------------------------------------------------------------------------------如果将第二行的属性改为 private String name = new String("abc");答案则为C