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
Can a class extend 2 classes in java?
Can java cast null?
Can I use % with real numbers?
What are the uses of java?
Is boolean a wrapper class in java?
Why singleton is not thread safe?
What is the difference between abstraction and encapsulation?
Can an interface have a class?
How does map works in java?
Difference between nested and inner classes ?
Does constructor be static?
What does || || mean in math?
What are the basic control structures?
When can you say a graph to be a tree?
Why we use set in java?