- Engineering
- Computer Science
- assuming that str is declared as followsstring str quotpstuvwxymquot...
Question: assuming that str is declared as followsstring str quotpstuvwxymquot...
Question details
Assuming that str is declared as follows:
String str = "PSTUVWXYM";
What value will be returned from str.charAt(5)?
String str = "PSTUVWXYM";
What value will be returned from str.charAt(5)?
a.
U
b.
V
c.
W
d.
X
Solution by an expert tutor
