题目内容

Methods can be declared in any order in a class.

A. true
B. false

查看答案
更多问题

Does the method call in the following method cause compile errors? public static void main(String[] args) {Math.pow(2, 4); }

A. No
B. Yes

The signature of a method consists of ____________.

A. parameter list
B. method name and parameter list
C. return type, method name, and parameter list
D. method name

A method can be defined inside a method in Java.

A. true
B. false

Variables defined in the method header are called _____.

A. arguments
B. global variables
C. parameters
D. local variables

答案查题题库