2014-11-22 56 views

回答

2

初始化場

public class Example { 

// initialize to false 
private boolean full = false; 

// initialize to 2 
public static int a= 2; 

}

領域Definiton:

public class Employee { 
    String name; 
    String position; 
    int salary; 
    Date hiredDate; 
} 
相關問題