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 is the final variable?

1310


What are the differences between path and classpath variables?

1099


Will the jvm load the package twice at runtime?

1147


What is a java string?

1170


What is static keyword in java?

1055


What is user defined exception in Java?

1132


Have you ever used hashtable and dictionary?

1068


Which is best ide for java?

1092


What does java edition mean?

1259


What is an object in java?

1089


Is minecraft 1.15 out?

1012


What are the major advantages of internal iteration over external iteration?

1106


What are use cases?

1015


Mention a package that is used for linked list class in java.

1031


What carriage return means?

1005