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

how you will prevent inheritance is there any other way
other than inheritance?

Answer Posted / ravikiran

my marking the class as final

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 the difference between yielding and sleeping?

1028


What is the difference between equals() and?

1114


What is Major and importance difference between for and foreach loop ?

1073


What is string :: npos?

1001


What is off heap memory?

934


Is string a wrapper class?

962


What is a instance variable?

1011


I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?

1116


What is busy spin, and why should you use it?

1020


What is canonical name in java?

1043


How do you use compareto method?

945


How do I know if java is installed?

1013


How do you check whether the list is empty or not in java?

920


Can we have two methods in a class with the same name?

989


Can we catch more than one exception in single catch block?

991