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 is stored procedure. How do you create stored procedure ?

1987


What is finally and finalize in java?

1158


Write a program in java to establish a connection between client and server?

1020


What is the difference between jdk, jre, and jvm?

1197


What are the advantages of encapsulation in java?

1051


Can we call the constructor of a class more than once for an object?

1140


What are selection structures?

1049


Why is it called boolean?

1061


What is the difference amongst jvm spec, jvm implementation, jvm runtime ?

1019


What are benefits of java?

1097


How java enabled high performance?

1093


What is difference between arraylist and list in java?

1133


How do you sort arraylist in descending order?

1078


Can we able to pass objects as an arguments in java?

1088


What is meant by method?

1186