Giter Site home page Giter Site logo

java_practice_basic-map's Introduction

##需求描述**

  • Student类中有姓名和年龄两个属性
  • Teacher类中有姓名和学生两个属性,学生的类型为Map,按年龄分类,有addStudent方法
  • Application中,有Teacher,姓名Bob,学生(Linda,18), (Cindy, 19), (Mary, 19)
  • 给Bob添加学生(Ben, 19),(Solider, 20)
  • 打印所有学生的信息

使用简介

  1. 如何导入gradle项目(现在不要求掌握什么是gradle)

2.�运行所有测试

./gradlew test
  1. 运行单个测试可以直接点击对应测试右边的绿色三角形

java_practice_basic-map's People

Contributors

linwenjun avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.