摘要: 1. 以下程序代码对Customer的name属性修改了两次:tx = session.beginTransaction();Customer customer=(Customer)session.load(Customer.class,new Long(1));customer.setName(\ 阅读全文
posted @ 2018-05-24 21:34 雪落无痕1 阅读(521) 评论(0) 推荐(0) 编辑
摘要: 选择题(共50题,每题1.5分,共75分。多选题选不全或选错都不得分。)1. 以下属于面向对象的特征的是(C,D)。(两项)A) 重载B) 重写C) 封装D) 继承2. 以下代码运行输出是(C)public class Person{private String name=”Person”;int 阅读全文
posted @ 2018-05-24 00:21 雪落无痕1 阅读(5845) 评论(0) 推荐(0) 编辑