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 are the types of methods in java?
How do you generate random numbers in java?
What is the length of a string?
Define Multiprogramming and Multiprocessing in java.
What is the use of beaninfo?
What is the main function in java?
How do you reverse sort a list in java?
What are the basic concepts of OOPS in java?
Can we change the value of static variable?
What is use of arraylist in java?
Write a program to check string is palindrome without using loop?
What language is java written?
What is the purpose of using bufferedinputstream and bufferedoutputstream classes?
When is finally block not called?
What is better - 'bit-shift a value' or 'multiply by 2'?