Answer Posted / om
No, we can not extend the String class b'coz it's a final
class...
if a class is final, it's not possible to perform
inheritance operation on that class
| Is This Answer Correct ? | 50 Yes | 4 No |
Post New Answer View All Answers
Explain the pointers in Java?
Is java jre still free?
What is defined as false sharing in the context of multithreading?
Is {a, n, d} a palindrome? If you are given a random string, is it a palindrome or not?
What are access specifiers available in java?
Is java 1.7 the same as java 7?
What is annotation in java?
Which browsers work with java?
Is set sorted in java?
What data type is a string?
Why does java have two ways to create child threads? Which way is better?
Explain the difference between arraylist and linkedlist in java?
How does remove work in java?
Can you give names of Container classes?
What is difference between equal and == in java?