Given that String[] str has been initialized, to get a copy of str[0] with all characters converted to upper case, use the follo wing statement: a. str[0].toUpperCase();
b. str.toUpperCase();
c. str[0].UpperCase();
d. str.UpperCase();
1 answer:
Answer: str[0].toUpperCase();
Explanation:
str[0] is pointing to the first character of the entire string and the code str[0].toUpperCase() will convert the characters to upper case if they are in lowercase and will remain unchanged if they are already in upper case.
You might be interested in
PErfect! 100% Absolutely beautiful.
Answer:
popleft
Explanation:
Answer:
Maintenance
Explanation:
Maintenance
This primarily involves updating and making improvements based on user feedback, as well as resolving any defects that arise.
Put some more of your time to help improve that skill.try to learn to get better.
Answer:
you cannot leave a field empty
you can enter data based on the defined data type