public final class Book extends Product { // all methods in the class are automatically final }//class Book