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

Differentiate between a class and an object.

996


How define set in java?

1000


how does multithreading take place on a computer with a single cpu? : Java thread

1092


Is java 9 released?

953


What is the difference between static method and instance method in Java?

1139


Why do we need data structure in java?

1029


What is public static?

987


What is the use of singleton class?

914


when to use ArrayList and when to use HashMap in webApplication.

4606


What is purpose of applet programming?

1143


How do you override a method in java?

961


Why do I need to declare the type of a variable in java?

1004


Is java call by reference?

931


What is tree node in java?

927


What is meant by 'Class access modifiers'?

992