Sail E0 Webinar
What will be the output of the following?array1 = [100, 200, 300, 400, 500]array2 = [1,2,3,4,5]if array1 == array2print "They are equal"else     print "Not equal"end
A .  They are equal
B .  Not equal
C .  Nil
D .  None of the mentioned
Answer: Option B

Two arrays are said to be equal if each and every element of both the arrays are equal.
Not equal

Was this answer helpful ?

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers