This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
A method that is declared 'final' cannot be overridden in a subclass. Methods that are declared 'static' and methods that are declared 'private' are implicitly 'final'. (Java: How to Program - Deitel & Deitel, 3rd Edition, page 410) You can use the 'final' keyword in a method declaration to indicate to the compiler that the method cannot be overridden by subclasses. (from Sun's documentation on Java - http://java.sun.com/docs/books/tutorial/java/javaOO/final.html)
abhijit r, Please read the JavaRanch Name Policy and re-register using a name that complies with the rules. Thanks for your cooperation. ------------------ Jane Griscti Sun Certified Programmer for the Java� 2 Platform