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 is string pool in java?

969


What is the disadvantage of synchronization?

969


What is difference between static class and singleton pattern?

968


How do you declare an array in java?

993


What is ternary operator?

968


What is casting in java programming?

980


Difference between doublesummarystatistics, intsummarystatistics and longsummarystatistics ?

949


Write a program to print the pattern given below

898


What are the main uses of the super keyword?

927


What is a stack class in java ?

1059


Why we use protected in java?

935


What is the difference between abstraction and encapsulation?

1010


What is integer size in java?

955


What is the Difference between Final Class && Abstract Class?

1033


What is singleton class in ruby?

972