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
What does \ mean in regex?
What are the approaches that you will follow for making a program very efficient?
What does exp mean in math?
What checkbox method allows you to tell if a checkbox is checked?
Why is logger singleton?
What is a void method?
Can finally block be used without a catch?
Can we assign integer value to char in java?
What is the difference between jdk and jre?
What are the differences between abstract class and interface?
What are void methods?
What are different types of states exist for a thread?
What are the three parts of a lambda expression?
Is java hard to learn?
What data type is a string?