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 singlton class?where it is use in real time senario.

1 Answers   Wipro,


How large is a boolean?

0 Answers  


what are three ways in which a thread can enter the waiting state? : Java thread

0 Answers  


What is stringreader?

0 Answers  


How do you use equal in java?

0 Answers  


Explain your academic project?

2 Answers   Accenture, Levonsys, SDF, TCS, Tech Mahindra,


Can an unreachable object become reachable again?

3 Answers   DELL,


What is a finally block?

0 Answers  


What is package private scope in java?

0 Answers  


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

0 Answers  


What is a methodologist?

0 Answers  


What is java util collection?

0 Answers  


Categories