Condition d'impression booléenne java

System.out.println(boolean_variable ? "print true": "print false");
javimu