# create-two-classes-in-different-package **Repository Path**: singlekingdom/create-two-classes-in-different-package ## Basic Information - **Project Name**: create-two-classes-in-different-package - **Description**: Java basic practice for beginners. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-01-19 - **Last Updated**: 2022-07-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Java程序的基本结构练习:在不同的包中创建两个类 请在如下的包中创建指定的类: - 在`com.github.hcsp.pet1`包中创建一个名为`Cat`的公开类public class。 - 在`com.github.hcsp.pet2`包中创建一个名为`Dog`的公开类public class。 在提交Pull Request之前,你应当在本地确保所有代码已经编译通过,并且通过了测试(`mvn clean test`) ----- 注意!我们只允许你修改以下文件,对其他文件的修改会被拒绝: - [src/main/java/com/github/hcsp/pet1/Cat.java](https://github.com/hcsp/create-two-classes-in-different-package/blob/master/src/main/java/com/github/hcsp/pet1/Cat.java) - [src/main/java/com/github/hcsp/pet2/Dog.java](https://github.com/hcsp/create-two-classes-in-different-package/blob/master/src/main/java/com/github/hcsp/pet2/Dog.java) ----- 完成题目有困难?不妨来看看[写代码啦的相应课程](https://xiedaimala.com/tasks/316bb6cc-6aa6-4dac-85e4-ce1c01b72c83/video_tutorials/096da117-fce7-42d1-bf89-8b1ce68cbc82)吧! 回到[写代码啦的题目](https://xiedaimala.com/tasks/316bb6cc-6aa6-4dac-85e4-ce1c01b72c83/quizzes/6deff641-d53b-485b-9253-614655e16f3b),继续挑战!