@POST
@Path(/{id}/{username}/{phone})
@Produces(application/JSON)
public String create(@PathParam(“id”) String id,
@PathParam(“username”) String name,
@PathParam(“phone”) String phone){
UserDAO.create(id, name, phone);
return "Create User:"+id+", "+name+", "+phone+" Successfull!";
}
总的来说,题目中规中矩,有往年题也有新题,有记忆题也有理解题,建议复习的时候把PPT仔细看一遍(这里就不得不吹了,刘老师的PPT是真的详细,仔细看能学到很多东西,不像某些课程(说的就是你,增强现实)),注意把前几章的概念记一下。