Re: public static or static public
From: Raymond DeCampo (rdecampo_at_spam.twcny.spam.rr.spam.com.spam)
Date: 05/23/04
- Previous message: Ryan Stewart: "Re: XML Parser"
- Next in thread: Doug Pardee: "Re: public static or static public"
- Maybe reply: Doug Pardee: "Re: public static or static public"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 23 May 2004 14:31:56 GMT
Petra Neumann wrote:
> Hello,
>
> I just came across some sample code where a variable has been defined as:
> static public final int TABLE = 1, LIST = 2;
>
> I was wondering if there is a difference to writing
> public static final int TABLE = 1,...?
>
These are equivalent. In general, the order of the modifiers in a
declaration is not significant.
Ray
- Previous message: Ryan Stewart: "Re: XML Parser"
- Next in thread: Doug Pardee: "Re: public static or static public"
- Maybe reply: Doug Pardee: "Re: public static or static public"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|