give me the answer of this code
class A extnds String
This code we can write r not in Java? Explain?
Answers were Sorted based on User's Feedback
Answer / anjani kumar jha
U cant extends String class because it is final class.
| Is This Answer Correct ? | 29 Yes | 1 No |
Answer / 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 |
Answer / ashwini kumar vatsa
class A extends String
because String is a pre defined class that is bind with java
api.so when we declares this statements that means we want to
access the api class String,but it cannot be access by the
users.
| Is This Answer Correct ? | 4 Yes | 15 No |
Is string is a class in java?
What is qualitative variable?
what is difference between type 4 driver and type 1 driver?
2 Answers CMC, CTS, IBM, JK Technosoft, Napier Healthcare,
Explain the protected field modifier?
How can a gui component handle its own events in java programming?
What does the “static” keyword mean? Can you override private or static method in java?
Is null == null in java?
How many wrapper classes are there in java?
what is dynamic method dispatch ?
27 Answers Fidelity, MUET, SDSF,
What do you mean by global variable?
What is update method and when it is called?
What is JVM ?
4 Answers Phantom Technologies, TCS,