Write a Java Program with a static member call PrintOldChars that take in a String variable str. The function will print out all the characters of the string in odd position. For example:
PrintOddChars ("Hello World") will print out "HloWrd" in the screen.