A.javac B.jdb C.javadoc D.junit
A.UML類圖定義了一組符號用于表示對象技術的抽象,例如類、對象等 B.一個UML類圖代表一個類 C.UML的詳細類圖中包括類名、字段、構造器和方法 D.UML的簡要類圖包括類名、字段和方法
類Student的聲明如下: package com.school class Student{ String name; int age; Student(String name,int age){ //code } void study(String subject){ / /code } } 正確調用方法study(String subject)的是哪項?()
A.Student stu = new Student(“Tom”,23); stu.study(“數(shù)學”); B.Student.study(“數(shù)學”); C.Student stu = new Student(“Tom”,23); stu.study(); D.Student stu = new Student(“Tom”,23); String result=stu.study(“數(shù)學”);