Answer Posted / om
No, we can not extend the String class b'coz it's a final
class...
if a class is final, it's not possible to perform
inheritance operation on that class
Is This Answer Correct ? | 50 Yes | 4 No |
Post New Answer View All Answers
What is the difference between Array and Hash Table?
Write an algorithm program in java for the following question.. 1) S is a set of integers.X is an integer obtained by sum of two digits in S. Write logic for whether or not the X is from the S. The time of algorithm should not exceed o(n logn).
What is the difference between class forname and new?
What is the difference between iterator and list iterator?
Describe different states of a thread.
What are the advantages of arraylist over arrays?
How many bytes is string in java?
How to display names of all components in a Container?
What does you mean in math?
What is the maximum size of hashmap in java?
what invokes a threads run() method? : Java thread
Is this valid in java ? Can we instantiate interface in java?
Can we have multiple public classes in a java source file?
What is a constructor, constructor overloading in java?
What method is used to specify a container's layout in java programming?