Computer Science, asked by XXWarLockxX1547, 10 months ago

Statement to display the last element of char str (20)

Answers

Answered by hashirbinabdulazeez
0

System.out.println(str[19]);

}

Explanation:

This is for java language

set the value of index will always one less from your given space because it's starting from zero.

Similar questions