give me the answer of this code
class A extnds String
This code we can write r not in Java? Explain?
Answer Posted / 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 |
Post New Answer View All Answers
Can you sort a string in java?
Explain the differences between static and dynamic variables?
What is an association?
What are the 3 types of loops in java?
What do you mean by global variable?
what is the constructor and how many types of constructors are used in java?
What does snprintf return?
What occurs when an object is constructed?
Is main is a keyword?
How to check if linked list contains loop in java?
What is the difference between arraylist and hashset in java?
why java uses class level type casting ?
If you are given the name of the function at run time how will you invoke the function?
Can you access non static variable in static context?
Explain the difference between serializable and externalizable in java?