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 are peerless components?
What is finally block?
How do you identify if jvm is 32-bit or 64-bit from java program?
Which is easier .net or java?
Why there is no call by reference in java?
Can we create an object of static class in java?
What is bean? Where it can be used?
When is the finalize() called?
Explain about anonymous inner classes in java?
What is the lifetime and scope of a variable?
How to overcome the exception object reference not set to an instance of object?
What is considered an anti pattern?
what is singleton class in java?
What are the basic concepts of OOPS in java?
What is the difference between overriding and overloading in OOPS.