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
Why to use nested classes in java? (Or) what is the purpose of nested class in java?
Does java allow overriding static methods ?
Explain about narrowing conversion in java?
What is the size of an array?
How do you clear a method in java?
How to make a read-only class in java?
What are three ways in which a thread can enter the waiting state in java programming?
What is maximum size of arraylist in java?
What is the flag in java?
What is int lol?
Can private class be extended java?
How to add menushortcut to menu item?
What do you understand by an io stream?
What is the benefit of singleton pattern?
What are the ways to instantiate the class class?