Hi guyz, I never thought that sequence of return type & static matters for compiler! Means, static void aMethod() is different from void static aMethod()!! Why it is so?? Bye. Viki. ------------------ Count the flowers of ur garden,NOT the leafs which falls away!
• Sun Certified Programmer for Java 2 Platform (SCJP2)
• IBM Certified Professional for Object Oriented Analysis and Design with UML
• IBM Certified System Administrator for WebSphere Application Server v5.0
• Certified Business Analysis Professional (CBAP®)
public static synchronized native void amethod(); synchronized public static native void amethod(); synchronized native static public void amethod(); native public synchronized static void amethod(); The method modifiers can be in any order, but the return type must immediately precede the method name.
Thanx Tony & Jim.Now i can realize that i am standing under SUN Bye. Viki. ------------------ Count the flowers of ur garden,NOT the leafs which falls away!
• Sun Certified Programmer for Java 2 Platform (SCJP2)
• IBM Certified Professional for Object Oriented Analysis and Design with UML
• IBM Certified System Administrator for WebSphere Application Server v5.0
• Certified Business Analysis Professional (CBAP®)
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.