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{
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / sadikhasan palsaniya
Code contains an Error.
please correct your code. In for loop i initialize by what
and what is rondom?
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the use of math abs in java?
what is singleton class in java?
What is oop principle in java?
What is the significance of listiterator?
Explain the differences between abstraction and encapsulation?
Is java owned by oracle?
What are "class access modifiers" in Java?
What is a package in java? List down various advantages of packages.
What is unicode used for?
What is treeset and treemap in java?
What is file in java?
Is java a pure object oriented language?