Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
Can we create our own Marker Interfaces...?
Joined: Aug 10, 2006
Aug 24, 2009 00:28:34
I know that " An Interface which doesn't have any methods" is called Marker Interface.
If we create an interface without any methods, is it become a Marker Interface........?
Then what is the main purpose(Need) of Marker Interface..?
Joined: Feb 04, 2009
Aug 24, 2009 00:53:49
This thread can help you :
SCWCD 1.5 (Preparing...)
Joined: Oct 13, 2005
Aug 24, 2009 02:51:26
There is also discussion of marker interfaces in
by Joshua Bloch.
Joined: Apr 12, 2009
Aug 24, 2009 11:13:52
I agree. Here's the link:
subject: Can we create our own Marker Interfaces...?
Marker interface related question
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014