| 12345678910111213141516171819 |
- package exercise.exercise01;
- /**
- * @author WanJl
- * @version 1.0
- * @title DogTest
- * @description
- * @create 2026/7/21
- */
- public class DogTest {
- public static void main(String[] args) {
- Dog d1=new Dog("小美","博美");
- Dog d2=new Dog("大黄","金毛");
- d1.showInfo();
- d2.showInfo();
- }
- }
|