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

Every class extends object but why it is not possible for
every object to invoke clone() method. ideally protected
methods should be accessible from sub classes. isn't it?

Answer Posted / surendrababu koppula

clone() method must be called on only cloneable objects so sub class must implement Cloneable marker interface

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of inner classes?

966


What is a boolean output?

911


How do you sort in descending order in java using collections sort?

844


What do you understand by the term singleton?

940


What are operators and its types?

995


Name the components that are termed to be Heavy-weight component but available in Light-weight components?

2436


What is core java called?

919


How do you ensure that n threads can access n resources without deadlock?

1256


How is garbage collection controlled?

1114


Tell me are there implementations for sorting and searching in the java libarary?

976


What is the java virtual machine?

1014


Explain about varargs in java?

1055


How to perform bubble sort in java?

945


How do you reverse a word in java?

991


What is bubble sorting in java?

992