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 do you mean by light weight and heavy weight components?
Can we override the private methods?
How do you reverse a word in java?
How can constructor chaining be done using this keyword?
What is a text string?
What are advantages of exception handling in java?
Why is a singleton bad?
Explain the protected field modifier?
Which package is always imported by default?
What do you mean by an interface in java?
What state does a thread enter when it terminates its processing in java programming?
Can there be an abstract method without an abstract class?
Which one will take more memory: an int or integer?
What is an array in java?
Can we define constructor in inner class?