代码
提交代码
public class Dog { private int age; private String name; /* 多行注释,注释了这段代码 public Dog (String name, int age) { this.name = name; this.age = age; } */ public static void main(String[] args) { } }
运行结果