Question: Given that String [ ] str has been initialized, to get a copy of s t r [ 0 ] with all the characters converted
Given that String str has been initialized, to get a copy of with all the characters converted to uppercase, you would use the statement.
struppercase;
st upperCase;
rtoUpperCase;
strtoUpperCase;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
