2016-07-22 91 views

回答

6

完全沒有區別 - 使用任何你喜歡的風格。

3

它們都是相同的。訪問修飾符和修飾符可以以任意順序,編譯器不關心你將它們放入哪個順序。通常,訪問修飾符放在修飾符之前。

public const // Is the same as: 
const public 

private static // Is the same as: 
static private