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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is anti pattern in programming?

490


What is replaceall in java?

538


What is the technique adopted to create an immutable class?

514


I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?

512


What is the difference between ArrayList and Vector? which one is better in Java

593






What are the basic concepts of OOPS in java?

561


Can we pass a primitive type by reference in java? How

522


How thread scheduler schedule the task?

578


What is command line argument in java?

594


How to restrict a member of a class from inheriting by its sub classes?

790


Explain the importance of thread scheduler in java?

589


What are the basic control structures?

492


What is string english?

533


What is meant by 'Class access modifiers'?

547


How do you replace all in word?

516