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 hashset in java?
What does mean in regex?
Can we create a constructor in abstract class?
Define class?
What is string builder in java?
Can we create a class inside a class in java?
What is the difference between arraylist and hashset in java?
Can we store variables in local blocks?
What is java command?
What is java full form?
How many ways can we create singleton class?
Which is faster set or list in java?
What do you mean by Function Overloading in java?
What is double data type?
Give an example of call be reference significance.