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 |
what is the logic inside any default constuctor?
Explain what access modifiers can be used for variables?
Is empty set an element of empty set?
What are identifiers in java?
Explain about map interface in java?
Does java list allow null?
How do you reverse a word in java?
What is the difference between variable declaration and variable initialization?
What is map in java?
Which graphs are functions?
Is arraylist zero based?
I want to know the host name and provider name for tcs web mail