give me the answer of this code
class A extnds String
This code we can write r not in Java? Explain?
Answer Posted / anjani kumar jha
U cant extends String class because it is final class.
| Is This Answer Correct ? | 29 Yes | 1 No |
Post New Answer View All Answers
What is a method declaration?
Can we assign the reference to this variable?
Where will it be used?
Explain about data types?
What is variable explain with example?
When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?
What is the difference between static and global variables and also define what are volatile variables?
When is the arraystoreexception thrown?
Can you override private or static method in java?
Are arrays static in java?
What is the purpose of extern variable?
What is a short in java?
What is a variable declaration?
When should I use singleton?
What is the map interface in java programming?