Solved

To Access the Last Character of a String Class Object

Question 36

Multiple Choice

To access the last character of a string class object str you can use the expression


A) str[last].
B) str.last() .
C) str[str.length() ].
D) str[str.length() -1].
E) None of the above

Correct Answer:

verifed

Verified

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

Related Questions