This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes protect multi level derivation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "protect multi level derivation" Watch "protect multi level derivation" New topic
Author

protect multi level derivation

Suddhasattwa Mukherjee
Ranch Hand

Joined: May 28, 2008
Posts: 52
how to protect multilevel inheritance using final key word.
[ January 02, 2009: Message edited by: Suddhasattwa Mukherjee ]
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 44031
    
  33
You can label a class final in which case it cannot be a superclass to anything. You can label an instance method final in which case it cannot be overridden.

"Multilevel derivation" is not a Java phrase which I am familiar with; what does it mean?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: protect multi level derivation
 
It's not a secret anymore!