Question: Which of the following statements is true in java? A. You will receive an error if you don't initialize an array of type int B.

Which of the following statements is true in java? A. You will receive an error if you don't initialize an array of type int B. You can only use primitive data types with arrays C. In java, arrays are not required to have fixed size D. Char and boolean are all references object data type E. A String is a reference data types that are instantiated from a primitive data type class F. 'A' has the same data type as 'A' G. Strings are immutable H. For loops are called sentinel loops 1. Passing an int value to a method is the same as passing an array called temp to a method J. You can sort a string called names by using names.sort() method
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
