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 / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to check for a prime number in java?

554


What does main method?

552


Given a singly linked list, determine whether it contains a loop or not without using temporary space?

577


What is meant by class loader? How many types are there? When will we use them?

497


What is the difference between delete and delete[]

573






Can list be null in java?

568


Is singleton thread safe in java?

540


What do you mean by formatting?

536


What is the latest java version?

550


What does the “final” keyword mean in front of a variable? A method? A class?

540


Explain notify() method of object class ?

602


What is a pattern what is an anti pattern?

500


List out five keywords related to exception handling ?

594


Why do we use threads in java?

557


What is the impact of declaring a method as final?

556