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
Which data type is class in java?
What is jrmp?
Can we use different return types for methods when overridden?
What is a string what operation can be performed out with the help of a string?
How to implement a multithreaded applet?
What is parsing a string?
What is number data type in java?
If an object is garbage collected, can it become reachable again?
Write an algorithm program in java for the following question.. 1) S is a set of integers.X is an integer obtained by sum of two digits in S. Write logic for whether or not the X is from the S. The time of algorithm should not exceed o(n logn).
Is it necessary that each try block must be followed by a catch block?
Does collectionutils isempty check for null?
Can a final variable be initialized in constructor?
What is the purpose of default constructor?
What is the use of jtable?
Is arraylist sorted in java?