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 / maurya

We can`t extends String class because java make it final
and thats why we say String in java are immutable.
final..
class--->can not inharitted.
method-->can not overridden
variable->its valu can not change after once initialized.

Is This Answer Correct ?    16 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you make a constructor final in Java?

1134


What are the high-level thread states in java programming?

1057


Which collection is thread safe in java?

992


What is method reference?

980


How does indexof work?

966


How do you declare an array that will hold more than 64KB of data?

1294


What is a lambda expression ? What's its use ?

1108


Is namespace same as package in java?

985


What does %4d mean in java?

1480


What is a linkedhashmap java?

1002


Highest level event class of the event-delegation model?

4015


Can you explain the private protected field modifier?

1030


How to perform selection sort in java?

1000


What is split return?

1004


What is balanced tree in java?

971