Question: Which one creates an instance of an array?

Options

A : int[ ] ia = new int[15];

B : float fa = new float[20];

C : char[ ] ca = "Some String";

D : int ia[ ] [ ] = { 4, 5, 6 }, { 1,2,3 };

Click to view Correct Answer

Previous || Next

Declarations and Access Control - General Questions more questions

Which of the following is/are legal method declarations?

Which cause a compiler error?

Which three are valid method signatures in an interface?

You want a class to have access to members of....

What is the widest valid returnType for methodA in line....

Which two of the following are legal declarations for nonnested....

Which of the following class level (nonlocal) variable declarations will....

Which two cause a compiler error?

Given a method in a protected class, what access modifier....

Which is a valid declaration within an interface?

Declarations and Access Control - General Questions more Online Exam Quiz

Radio Receivers - Part 1

Satellite Communication - Part 1

Signals and Systems - Part 1

General Principles - General Questions

Language Fundamentals - General Questions

Objects and Collections - General Questions