how to use parentheses inside parentheses in java code example Example: how to add parentheses for number in java ;System.out.println('(' + 9 + ')')