if i have one string class then how can you achive this
class functionality of this class?
Answer Posted / 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 |
Post New Answer View All Answers
When do we use hashset over treeset?
Is java map thread safe?
What is a literal coding?
What are scriptlets?
What is user defined exception in Java?
What is a treeset class?
What do you understand by the term string pool?
According to java operator precedence, which operator is considered to be with highest precedence?
What makes a function well defined?
please send me hr interview questions in it industry
What is thread pool in java with example?
What is the access scope of protected access specifier?
What do you mean by ternary operator in java?
What is the function of character?
What is the use of optional ?