Answer Posted / maurya
We can`t extends String class because java make it final
and thats why we say String in java are immutable.
final..
class--->can not inharitted.
method-->can not overridden
variable->its valu can not change after once initialized.
| Is This Answer Correct ? | 16 Yes | 3 No |
Post New Answer View All Answers
Can you make a constructor final in Java?
What are the high-level thread states in java programming?
Which collection is thread safe in java?
What is method reference?
How does indexof work?
How do you declare an array that will hold more than 64KB of data?
What is a lambda expression ? What's its use ?
Is namespace same as package in java?
What does %4d mean in java?
What is a linkedhashmap java?
Highest level event class of the event-delegation model?
Can you explain the private protected field modifier?
How to perform selection sort in java?
What is split return?
What is balanced tree in java?