Final classes
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Rob_Wilkie
Posted On:   Tuesday, July 15, 2003 01:56 PM

This is just a general question as to whether there is any semantic difference between declaring a final public class ... or a public final class ... . I prefer the former as it is immediately clear that you are unable to inherit from this class. However, if this somehow is different than the later in some strange way then I would like to know about it, too. I've done some tests on my own and there doesn't seem to be any difference, but I wanted to make sure by checking with jGuru.



Thanks.

About | Sitemap | Contact