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

Explain the pointers in Java?

1107


Is java jre still free?

1005


What is defined as false sharing in the context of multithreading?

1085


Is {a, n, d} a palindrome? If you are given a random string, is it a palindrome or not?

1196


What are access specifiers available in java?

1061


Is java 1.7 the same as java 7?

1104


What is annotation in java?

1110


Which browsers work with java?

1118


Is set sorted in java?

993


What data type is a string?

1060


Why does java have two ways to create child threads? Which way is better?

1111


Explain the difference between arraylist and linkedlist in java?

1027


How does remove work in java?

1026


Can you give names of Container classes?

2353


What is difference between equal and == in java?

1007