kondisi cetak boolean java

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