0

重複の可能性:
Java での修飾子キーワードの順序

I am using netbeans IDE and i am checking out various characteristics of JAVA .generally i declare a abstract class as follow

public abstract class ClassName 

however the declaration below doenot seem to generate any error either

abstract public class ClassName

What are the differences between the above two declarations?

4

3 に答える 3

0

違いはありません。修飾子 (public、abstract など) は任意の順序で指定できます。

于 2012-11-19T03:18:04.173 に答える