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

What does I ++ mean?

1061


Can we initialize the final blank variable?

1086


What is the difference between choice and list?

1086


What does main method?

973


What is a blocking method in Java?

1227


How can we make string upper case or lower case?

1068


What is substring 1 in java?

1151


What is math exp in java?

1039


Is java map thread safe?

950


How to create a fecelet view?

982


Assume a thread has lock on it, calling sleep() method on that thread will release the lock?

1095


What does it mean that strings are immutable?

1121


How do you remove duplicates from an array in java?

948


How do you override a method in java?

999


What is arraylist e?

1075