Solved

Which of the Following Would Return the Last Character of the String

Question 24

Multiple Choice

Which of the following would return the last character of the String x?


A) x.charAt(0) ;
B) x.charAt(last) ;
C) x.charAt(length(x) ) ;
D) x.charAt;
E) x.charAt(x.length() ) ;

Correct Answer:

verifed

Verified

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

Related Questions