> How do you output a number that has parenthesis around it in Java?

How do you output a number that has parenthesis around it in Java?

Posted at: 2014-12-18 
How do you put output a number that has parenthesis around it? I need the output to be something like this (333). Any suggestions?

System.out.println("(" + 333 + ")");

System.out.println ("(" + number + ")");

How do you put output a number that has parenthesis around it? I need the output to be something like this (333). Any suggestions?