abstract class A{
int list []=new int [100];
A(int x,int y){
rondom n=new rondom();
for (int i==;i<100;i++);
list [i]=x+r.next int(y-x+1);
abstract sort ();
abstract binary sarch(int temp);
class B extends A{
Answer Posted / sravan
in the above program he takes the parameterized constructor for any constructor we must and should create object but in that program object creation is not done so it gives error it is a compilation error
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How many types of methods are there?
what is thread? : Java thread
Why is java so popular?
How can we create a synchronized collection from given collection?
how we can make a write-only class in java?
What is passing parameters in java?
How do you sort in java?
How transient variable is different from volatile variable?
What does singleton class mean?
How do you sort arrays in java?
Define nashorn in java8.
Can java list contain duplicates?
What is callablestatement? How you can call stored procedure to pass in parameter?
What is the difference between stringbuffer and stringbuilder class?
Is this valid in java ? Can we instantiate interface in java?