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

if i have one string class then how can you achive this
class functionality of this class?

Answer Posted / ganesh

MyString extends String{
}

This will give all the functionalites of String Object for
MyString

Above code is not working. because String is a final class.
Final class can't be extend.

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can Exception handling we can handle multiple catch blocks?

1040


Can we extend singleton class?

951


What is this () in java?

1020


Explain the meaning of java applet.

1069


What are the two types of streams offered by java 8?

925


Is 0 a real number?

1043


Can we inherit inner class?

1017


What is the maximum size of byte array in java?

1011


Why string is called as immutable?

949


What are strings in physics?

1012


What is the impact of declaring a method as final?

1019


How do you identify if jvm is 32-bit or 64-bit from java program?

965


Explain a situation where finally block will not be executed?

1039


How to perform bubble sort in java?

994


What is string example?

1052