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 |
Can a class extend abstract class or interface? why
Difference between arraylist and hashset in java?
If a variable is declared as private, where may the variable be accessed?
Explain the importance of throwable class and its methods?
write a simple program inheritance?
What is a numeric string?
What is the platform?
What does nextint () do in java?
There are 2 methods in a class. Both have the same method signature except for return types. Is this overloading or overriding or what is it?
How to create a custom exception?
Is it possible to specify multiple jndi names when deploying an ejb?
What is an argument java?