Introduction - If you have any usage issues, please Google them yourself
Analyze the following requirements and implement them in code:
1. Customize a class student
Students have a name and age attribute
2. Create four students with the new keyword
Name and age of four students
3. Add the four students to the collection
4. Using the bubble sort algorithm, the collection of students in accordance with the age small to large sort
5. Finally traverse the collection of students sorted, print the student s name and age
Google 翻译(企业版):译者工具包网站翻译器全球商机洞察
关于 Google 翻译社区移动Google 大全隐私权和使用条款帮助发送反馈