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


Please Help Members By Posting Answers For Below Questions

What is functional interface in javatpoint?

502


How will you calculate the depth of a binary tree if the tree contains 15 nodes?

593


Explain about fail safe iterators in java?

556


Is java free for commercial?

487


How to sort an unsorted array in java?

606






What is the locale class in java programming?

525


What are the four pillars of java?

602


What is the unit of plancks constant?

561


What is Recursion Function?

633


What are the files generated after using IDL to java compiler?

582


What is double word?

529


Can list be null in java?

568


Can a class have 2 constructors?

490


What is a module function?

553


Is break statement can be used as labels in java?

495