[2507] in java-interest

home help back first fref pref prev next nref lref last post

Re: Static class VS final class

daemon@ATHENA.MIT.EDU (Arthur van Hoff)
Tue Oct 3 21:43:22 1995

Date: Tue, 3 Oct 1995 09:18:50 -0700
From: avh@jakarta.Eng.Sun.COM (Arthur van Hoff)
To: edith@pencom.com
Cc: java-interest@java.Eng.Sun.COM


Hi Edith,

>   Can someone explain the different between a static class and a final class
> for me?  Both of them cannot be subclassed and instantiated.

I'm not sure what a static class"` is, there is no such concept in Java.
Do you perhaps mean abstract class? An abstract class can't be instanciated
directly, it needs to be subclassed. A final class is a class that can't
be subclassed, but it can be instanciated.

Have fun,

	Arthur van Hoff
	
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post