write a public class called IfElseDemo. Create a Method called go that takes the args String array from the main method. in that method create an if/else block that looks at the first element of the array and uses the string equals method to determine the output. if it contains true print out "ok", if false output "not ok". if it contains a string other than true or false output "invalid command parameter". use a single sequence of if-else-if ladder statements.
help on how am supposed to create the method that takes the args string array from the main method..how exactly am i supposed to write it???