题库网
  • 首页
  • 所有科目
  • 关于本站
  • 账号设置 退出登录
    注册 登录
注意:此页面搜索的是所有试题
郑州科技学院Java程序设计
static块

以下程序的输出结果为_________________。。 publiccclasssCoursee{{{privateeStringgcNumber;;;privateeStringgcName;;;privateeinttcUnit;; publiccCourse(Stringgnumber,,Stringgname,,inttunit)){{{{cNumberr==number;;;;cNamee==name;;;;cUnitt==unit;;;}} publiccvoiddprintCourseInfo()){{{ System.out.println("课程号:""++cNumberr++""课程名:""++cNamee++""学分:""++cUnit);;;}}}} classsCourseTestt{{{publiccstaticcvoiddmain(String[]]args)){{{{Courseec;; cc==newwCourse("101",,"ASP" ,,3);;;;c.printCourseInfo();; }}
首页 <上一页 1 2 3 4 下一页> 尾页
随机试卷
兰州交通大学入学教育
国家开放大学幼儿文学
郑州航空工业管理学院-施工组织与管理
乐山师范学院体育创业指导
乐山师范学院-微课制作
枣庄学院马克思
阜阳师范学院-法学
西安建筑科技大学经济学
玉林师范学院-外国文学
河南财经政法大学-C语言程序设计
赣ICP备2023009414号-1