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
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 |
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 |
Is there any way to skip finally block of exception even if some exception occurs in the exception block?
What is dynamic binding?
How can i add a button in applet in java ???
If goto and const is reserve words than why it is not work in java?
What are 3 data types?
What are JVM.JRE, J2EE, JNI?
What is replacefirst in java?
what is Abstract DataType?
What is update method and when it is called?
Can we declare the main method of our class as private?
What is the different types of functions?
What is the differences between c++ and java? Explain