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



abstract class A{ int list []=new int [100]; A(int x,int y){ rondom n=new rond..

Answer / sravan

error

Is This Answer Correct ?    0 Yes 0 No

abstract class A{ int list []=new int [100]; A(int x,int y){ rondom n=new rond..

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

abstract class A{ int list []=new int [100]; A(int x,int y){ rondom n=new rond..

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

Post New Answer

More Core Java Interview Questions

whats string ?

10 Answers   HCL,


Explain the difference between serializable and externalizable in java?

1 Answers  


when we write class.forName("any one class"); what happens actually?what it will return?explain stepwise?

6 Answers  


Where is jre installed?

1 Answers  


What is the default value of an object reference declared as an instance variable?

1 Answers  


is it possible to instantiate the math class?

1 Answers  


How list contains works in java?

1 Answers  


What methodology can be utilized to link to a database?

1 Answers  


What is the meaning of variable in research?

1 Answers  


When you declare a method as abstract method ?

2 Answers   HP,


how do you store phone numbers using java collections

5 Answers   Bosch, IBAB,


What is the use of anonymous inner classes ?

12 Answers   DELL, HCL,


Categories