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?

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / guest

sdfg

Is This Answer Correct ?    0 Yes 4 No

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

Answer / n. bala subramanian

MyString extends String{
}

This will give all the functionalites of String Object for
MyString

Is This Answer Correct ?    0 Yes 5 No

Post New Answer

More Core Java Interview Questions

What is run time allocation?

0 Answers   Fidelity,


what is the default value of a variable char?(If not assigned)

4 Answers  


write java code to print second max number in the array

12 Answers   Huawei, IBAB,


What is the difference between error and an exception?

0 Answers  


Can we make constructors static?

0 Answers  


How to make a write-only class in java?

0 Answers  


What are the differences between forwarding () method and sendredirect() methods?

0 Answers  


Does isempty check for null?

0 Answers  


What is final keyword?

0 Answers  


What is map and hashmap? also tell the difference.

1 Answers  


How to find the size of an array a)array.length() b)array.length c)array.size() d)array.size

6 Answers   Accenture,


When do we use synchronized blocks and advantages of using synchronized blocks?

0 Answers  


Categories