Question: When we instantiate a generic class, the generic parameter of that class ( say , ) can be replaced with primitives such as int /

When we instantiate a generic class, the generic parameter of that class
(say,) can be replaced with primitives such as int/float/long, etc
True
False
Which one of the following creates an instance of an array? *
int[] ia = new int[15];
float fa = new float[20];
String str = "Some String";
int ia[][]={4,5,6},{1,2,3};
None of the other options
All of the given options
Provide explanation for the correct option/ answer for each question
 When we instantiate a generic class, the generic parameter of that

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!