To find out the size of an array iArray we use the followinginstruction:
A.int iSize = iArray.length;B.int iSize = iArray.length( );C.int iSize = iArray.size( );D.int iSize = iArray.getLength( );
Review
Check to review before finishing (will beflagged in Table of Contents)
Question 2 of 6 (worth 4points)
If you run the following code what will happen?
int x = 5;
int y = 5;
if(x=y){
it will:
A.Syntax ErrorB.TrueC.False
Review
Check to review before finishing (will beflagged in Table of Contents)
Question 3 of 6 (worth 5points)
Given the following switch statement where x is an int, answerthe question:
switch (x){ case 3 : x += 1;
PayPal Gateway not configured
PayPal Gateway not configured