InJava Programming. Using JDK and netbeans.Write a method that takes a string as its parameter and returns the string as follows: Every uppercase to lowercase and every lowercase to uppercase. (Use AP). Example: given “Hello” should returns “hLLO Show transcribed image text Write a method that takes a string as its parameter and returns the string as follows: Every uppercase to lowercase and every lowercase to uppercase. (Use AP). Example: given “Hello” should returns “hLLO
Answer
import
OR
OR