Help Center

Local Navigation

Making classes final

When you create code libraries, mark classes as final if you know that developers will never extend them. The presence of the final keyword allows the compiler to generate more efficient code.

By default, the BlackBerry® Java® Development Environment compiler marks any classes that you do not extend in an application .cod file as final.

Index


Was this information helpful? Send us your comments.