QUESTION IMAGE
Question
question 4
arguments to methods always appear within
a curly braces
b parentheses
c brackets
d quotation marks
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").
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
B. parentheses