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
Is hashset ordered java?
What is contract between hashcode and equal method?
Explain the purpose of garbage collection in Java?
Explain the difference between collection api and stream api in java8?
What are static methods?
What is the functionability stubs and skeletons?
What are the uses of synchronized keyword?
Explain restrictions for using anonymous inner classes?
What are the common uses of "this" keyword in java ?
What access modifiers can be used for methods?
What is variable argument in java?
Does string isempty check for null?
What does java edition mean?
Does every java program need a main?
What is the output of the below java program?