Showing posts with label Abstract Classes. Show all posts
Showing posts with label Abstract Classes. Show all posts

Thursday, 7 February 2013

SCJP Sun Certified Programmer for Java 6 Study Guide Exam(310-065) Class-8

Other (Nonaccess) Class Modifiers


You can modify a class declaration using the keyword final, abstract, or strictfp. These modifiers are in addition to whatever access control is on the class, so you could, for example, declare a class as both public and final. But you can't always mix nonaccess modifiers. You're free to use strictfp in combination with final, for example, but you must never, ever, ever mark a class as both final