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

Can we extend the String class?

Answer Posted / om

No, we can not extend the String class b'coz it's a final
class...
if a class is final, it's not possible to perform
inheritance operation on that class

Is This Answer Correct ?    50 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a parameter in a function?

952


Why is singleton not thread safe?

1009


Give few examples of final classes defined in Java API?

1113


What is the difference between a static and a non-static inner class in java programming?

984


What is lambda programming?

940


what is object slice?

2000


Why string objects are immutable in java?

994


What are the benefits of operations?

894


What does string intern() method do?

1037


Do you know why doesn't the java library use a randomized version of quicksort?

906


What are untrusted applets?

1071


What is a constructor, constructor overloading in java?

959


Can we have a try block without catch block?

942


What is a method in java?

985


What class allows you to read objects directly from a stream in java programming?

992