Observe the two statements given below and then answer the following question:
itemName = new Array (3):
itemName = new Array ("Chromebook", "IPad", "Mobile");
Which of the following statement is true about the two given statements?
1
Both statements have exactly the same effect.
2
Both statements are different as they declare different types of variables.
3
Both statements are different as one is only declaring while the other is declaring and initializing.
4
Both statements are different as they declare arrays of different sizes.