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

Which is better 64 bit or 32 bit?

0 Answers  


In the below example, what will be the output?

0 Answers  


Explain about global variables in Java?

3 Answers  


Why is java called java?

0 Answers  


What is javac used for?

0 Answers  


What is Remote Interface ?

6 Answers   CTS,


What is primitive array?

0 Answers  


What is the main use of generics in java?

0 Answers  


How many bytes are a float?

0 Answers  


What is non static block in java

10 Answers   Emphasis, Ness Technologies,


What are different types of inner classes ?

0 Answers  


How do you do absolute value in java?

0 Answers  


Categories