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
How does hashset works in java?
Differentiate between a class and an object.
How does compareto work in java?
Why main method is static in java?
How can we run a java program without making any object?
How do I get 64 bit java?
What do you understand by casting in java language?
Can Exception handling we can handle multiple catch blocks?
How to pass arraylist to stored procedure in java?
What technique can be employed to compare two strings?
How many types of keywords are there?
What is meant by method overriding?
What is hashset in java?
What is keyword auto for?
How to convert string to char and vice versa?