2016-07-22 89 views

回答

6

完全没有区别 - 使用任何你喜欢的风格。

3

它们都是相同的。访问修饰符和修饰符可以以任意顺序,编译器不关心你将它们放入哪个顺序。通常,访问修饰符放在修饰符之前。

public const // Is the same as: 
const public 

private static // Is the same as: 
static private