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 does this mean java?

1038


Can we inherit a class with private constructor?

1067


What is an empty string in css?

987


I don’t want my class to be inherited by any other class. What should I do?

972


What do you understand by an io stream?

994


Can a static block throw exception?

1056


Which methods are used during serialization and deserialization process?

952


How variables are stored in memory?

959


What are the advantages of defining packages in java?

930


Can we make constructors static?

1182


when should you use stringbuilder class in a program?

932


Explain exception chaining in java?

1097


What is an object in java and how is it created?

1009


For class CFoo { }; what default methods will the compiler generate for you>?

1029


What is an example of a boolean?

1006