give me the answer of this code
class A extnds String
This code we can write r not in Java? Explain?
Answer Posted / satish
it is not posible to extend String class because it is
final.if class is final we can't extend that class.
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
What is the purpose of sizeof operator?
Where import statement is used in a java program?
why are there separate wait and sleep methods? : Java thread
Does hashset allow duplicates in java?
what invokes a threads run() method? : Java thread
What is the base class of all exception classes?
What are different data types?
What is package protected in java?
What are memory tables?
What is a protected void?
What is sortedmap interface?
What does this () mean in java?
What is indexof?
What is the purpose of the System class?
What’s the difference between callable and runnable?