if i have one string class then how can you achive this
class functionality of this class?
Answers were Sorted based on User's Feedback
Answer / ganesh
MyString extends String{
}
This will give all the functionalites of String Object for
MyString
Above code is not working. because String is a final class.
Final class can't be extend.
| Is This Answer Correct ? | 9 Yes | 2 No |
Answer / n. bala subramanian
MyString extends String{
}
This will give all the functionalites of String Object for
MyString
| Is This Answer Correct ? | 0 Yes | 5 No |
how u do unit testing?
List implementations of list interface?
What is an infinite loop in java? Explain with an example.
What is the method used to get the absolute value of a number?
Why main function is static?
Does windows 10 need java?
What’s meant by anonymous class?
What is Mutex (Mutual Exclusion Object) ?
How do you check if a character in a string is a digit or letter?
abstract class A{ int list []=new int [100]; A(int x,int y){ rondom n=new rondom(); for (int i==;i<100;i++); list [i]=x+r.next int(y-x+1); abstract sort (); abstract binary sarch(int temp); class B extends A{
How does hashset work in java?
What is the difference between iterator and list iterator?