adplus-dvertising
frame-decoration

Question

Which of these operators is used to allocate memory to array variable in Java?

a.

malloc

b.

alloc

c.

new

d.

new malloc

Posted under Java Programming

Answer: (c).new

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of these operators is used to allocate memory to array variable in Java?