Solved

Assuming That a Variable Named Ocean Has Been Initialized with the String

Question 23

Multiple Choice

Assuming that a variable named ocean has been initialized with the string "Atlantic",which of the following library functions would return the first character in the string?


A) length(ocean)
B) toUpper(ocean)
C) substring(ocean, 0, 0) ;
D) contains(ocean, "A") ;
E) None of the above

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions