计算机类 2021_09_25 每日一练
l In C language, (4) are used to create variables and are grouped at the top of a gram block;
A. declarationsB. dimensionsC. commentsD.descriptions
public class Something {
public static void main(String[] args) {
Something s = new Something();
System.out.println("s.doSomething() returns " + doSomething());
}
public String doSomething() {
return "Do something ...";
}
}
看上去很完美。