JAVA. Write a recursive method to return if the nestedparentheses are even.
Example
“(((())))” → return true
“()()(())((())” → return false
“()))” → return false
“()((()))()” → return true
Please do not use the stack function as I have not learned ityet.
Expert Answer
An answer will be send to you shortly. . . . .