LATEST UPDATE.
In Java, functions are called ___. ANS >>> Methods
We can use a variable as an index expression to access an
array element in Java. ANS >>> True
Java uses the ^ (caret) operator for exponentiation. ANS
>>> False
In Java parameter variables must be declared with their
data type. ANS >>> True
Method overloading distinguishes between methods
based on _____. ANS >>> both
, number of arguments
and
data types of arguments
In Java, arrays can only store primitive types. ANS >>>
False
Which of the following correctly demonstrates the use of
an array initializer list? ANS >>> Int [] my array = {1, 2, 3,
4, 5};
Which of the following is/are true about arrays? Choose
all that apply. ANS >>> the elements of an array all
located contiguously in memory
an array is a set of variables
the elements of an array are accessed by an integer index
the elements of an array all have the same data type