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

Difference between character constant and string constant in java ?

1007


Is array primitive data type in java?

993


What do you mean by default constructor in java?

1057


What is high level language in computer?

1013


What kind of variables can a class consist?

1053


What is the this keyword?

1022


What is parsing a sentence?

1072


What do you mean by jjs in java8?

982


Which is fastest collection in java?

1068


Is char a data type in java?

960


What is the difference between equals() and?

1178


please send me hr interview questions in it industry

2116


Is hashset sorted in java?

1174


What is the difference between overriding and overloading in OOPS.

1138


What is java ceil?

1020