write a java program that should change the case of every second character to the upper case and print them
for instance:input:hello world
output should be:hElLo WoRlD
please give the code
for instance:input:hello world
output should be:hElLo WoRlD
please give the code