Hi Every One I Have Small Doubt Please answer
This????????????????????????????
I Want to use AbstractList class
methods(java.util.AbstractList)
My Program is
import java.util.*;
class DemoOne extends AbstractList
{
public static void main(String[] args)
{
AbstractList a=new DemoOne();//This One is Correct??
DemoOne a1=new DemoOne();//This One is Correct?? Both Are
Not Working
System.out.println("Hello World!"+a);
System.out.println("Hello World!"+a1);
}
}
Error IS:
DemoOne.java:2: DemoOne is not abstract and does not
override abstract method get(int) in java.util.AbstractList
class DemoOne extends AbstractList
AnyOne can Please Provide The
Solution????????????????????????? Plzzzzzzz
Answer Posted / prashanth.vuthuru
AnyOne can Please Provide The
Solution????????????????????????? Plzzzzzzz
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is difference between fail-fast and fail-safe?
What is a qualifier in a sentence?
What is method overloading in JAVA? Why is it not present in C ?
What is the function of character?
Is null a string?
Differentiate between class and structure.
What is a constructor overloading in java?
How will you invoke any external process in java?
What is double parsedouble in java?
Differentiate between stringbuffer and stringbuilder in java.
What are wrapped classes in java programming?
Can memory leak happen java?
What is composition in java?
How does predicate work in java?
Which class is the superclass of all classes?