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...

What are null interfaces in JAVA ? and give me some
examples?

Answer Posted / shailesh

Null interfaces are just the normal interfaces. But with
these, our classes will be having some additional
functionality. Like, clone() method is not defined in
Cloneable interface but we can make it available for our
class by letting it use cloneable(allowing my class to
clone the objects or just giving permission to do so).
So, these just be treated as a marker interfaces that marks
our class with additional functionality.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages and disadvantages of reference counting in garbage collection?

1018


What is variable declaration and definition?

998


What is native code?

1110


What is adapter in java?

916


what is the major difference between linkedlist and arraylist in java?

1200


How do you download stubs from Remote place?

1777


What is java virtual machine? Explain

1022


How do you break a loop?

977


What is floating data type?

977


Can classes declared using the abstract keyword cab be instantiated?

1041


What is meant by string is immutable?

1071


What is complexity in java?

1018


Can we create object of inner class in java?

943


What is a boolean in java?

1047


What does exp mean in math?

985