File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "protect multi level derivation" Watch "protect multi level derivation" New topic

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

Joined: Oct 13, 2005
Posts: 46328
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:
subject: protect multi level derivation
It's not a secret anymore!