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

Does java support function overloading, pointers, structures, unions or linked lists?

0 Answers  


Can a class extend more than one class?

0 Answers  


how can i connect to database in a applet ?

1 Answers  


Which method will get invoked first in a stand alone application?

1 Answers  


how to open and edit XML file in Weblogic???

0 Answers   Symphony,






What do you understand by the term singleton?

0 Answers  


What are the restrictions imposed by a Security Manager on Applets?.

0 Answers  


What is super constructor?

0 Answers  


What is more advisable to create a thread, by implementing a Runnable interface or by extending Thread class?

5 Answers  


What is java autoboxing?

0 Answers  


write a program to create an arraylist with string(add,remove) operation.and value should be enter through keyboard.

0 Answers   Axcend,


Can I import same package/class twice?

0 Answers  


Categories