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 the function of compareto in java?
Explain importance of finally block in java?
What is void data type?
Where is jre installed?
What do you understand by access specifiers in Java?
When should you use arraylist and when should you use linkedlist?
List the interfaces which extends collection interface?
Explain the difference between association, aggregation and inheritance relationships.
How many types of design patterns are there?
What are the new features in java 8? Explain
Why are the methods of the math class static?
When can we say that threads are not lightweight process in java?
What is a method declaration?
Can we call a non-static method from inside a static method?
Does treeset use compareto?