Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can I create any Marker Interface? If yes then how can I
use it???

Answer Posted / amit singh

there is no difference between blank inerface and marker
interface
yes we can creae our own marker inerface
interface Xyz
{
}
but is this work for us like a serializable and cloneable
marker inerface
i don't know so please
you do one thing to do your own interface to check only
through the insanceof operator in a clsses those implemen
this interface
thanks amit singh
amitsing2008@gmail.com

Is This Answer Correct ?    9 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is thread? What are the high-level thread states? Or what are the states associated in the thread? : Java thread

941


What is a control variable example?

956


What is numel matlab?

1244


Why is whitespace important?

1019


What is variable length arguments in java?

909


Which collection is ordered in java?

930


What is command line argument in java?

1075


Mention a package that is used for linked list class in java.

902


What does snprintf return?

949


Can we have two main methods in a java class?

989


According to java operator precedence, which operator is considered to be with highest precedence?

1034


What are streams in java 8?

945


Can we define static methods inside interface?

926


How do you avoid global variables?

1016


What is a void in java?

1064