What are the right ways to create an array of 10 integers in
What are the right ways to create an array of 10 integers in Java? What is true of the curly braces {} in Java: It is called a code block They are used to access function parameters They are used to access arrays items Variables declared inside them only exist inside them
Solution
Question 3:
Answer: Option B and D are right way of creating an array of 10 integers.
Question 4:
Answer: Option A and D are correct with respect to curly braces.
