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 the purpose of static methods and static variables?
What is this () in java?
What defines function?
How many bytes is a string in java?
Is string a class in java?
What is the flag in java?
What is the inheritance?
why we use merge option in hybernate pls give a ex snippet
Differentiate between == and equals().
What is finalize() function in java?
What is assembly used for?
What are filterstreams?
What is lambda expression in java?
When is the finalize() called?
How do you bind variables?