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
How does remove work in java?
Can we nested try statements in java?
What do you mean by ternary operator in java?
What does split function do in java?
What are "class access modifiers" in Java?
Why multiple inheritance is not supported by java?
What all methods are used to prevent thread execution ?
What is the default size of arraylist in java?
What is complexity in java?
What is the null?
Why is java not 100% pure oops?
Explain the access modifiers for a class, method and variables?
Explain differences between collection api and stream api?
How can an object be unreferenced?
What is unmodifiable collection in java?