Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

question 4 arguments to methods always appear within a curly braces b p…

Question

question 4
arguments to methods always appear within
a curly braces
b parentheses
c brackets
d quotation marks

Explanation:

Brief Explanations

In programming, when defining or calling a method, the arguments are placed within parentheses. Curly braces are used for code blocks (e.g., in a method body in Java). Brackets are used for arrays (e.g., int[] arr = new int[5] in Java). Quotation marks are used for string literals (e.g., "Hello").

Answer:

B. parentheses