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
What is role of void keyword in declaring functions?
How do you write a scanner class in java?
How do you call a reference in java?
What's the difference between int and integer in java?
Difference between Linked list and Queue?
How many bytes are a float?
How do you square a number in java?
Explain about oops concepts.
What is integer size in java?
Explain about transient variables in java?
What is the difference between the reader/writer class hierarchy and the inputstream/outputstream class hierarchy in java programming?
If an application has multiple classes in it, is it okay to have a main method in more than one class?
What is java and its types?
What do you mean by checked exceptions?
What is oops in java?