题目内容

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

A variable or a value listed in a call to a method is called

A. an argument
B. a local variable
C. a parameter
D. a global variable

答案查题题库