Java Programming
Accenture Technical PrimermediumJava Programming4. Arrays And Strings

_______________ is used to allocate memory to array variable in Java

Answer options

A
malloc
B
new
C
alloc
D
calloc

Correct answer: new

Explanation

Quick AnswerThe correct answer is new because it directly addresses the core logic of Java Programming.

Correct answer: new.

Related Accenture Java Programming questions

Practice more Accenture Java Programming questions

PrimerPrep has 1400+ practice questions, 2026 simulations and coding hands-on — all free.

Watch Walkthroughs!