¿¹Á¦
public
static
void
main(
String
[] args ) {
Object object;
//....
if
(object.getResult() != null) {
System.out.println(object.getResult());
}
}
¼Ö·ç¼Ç
¸Þ¼Òµå È£ÃâÀÇ °á°ú¸¦ ÀúÀåÇÏ·Á¸é º¯¼ö¸¦ »ç¿ëÇϽʽÿÀ.
public
static
void
main(
String
[] args ) {
Object object;
Object result = object.getResult();
if
(result != null) {
System.out.println(result);
}
}