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

What are the advantages of compiled language?

0 Answers  


What is the argument type of main() method?

2 Answers  


What do you understand by soft reference?

0 Answers  


Which sorting is best in java?

0 Answers  


What is the difference between applet and application?

0 Answers  






What is the basic functionality of DataOutput interface in java?

2 Answers   TCS,


What is re-factoring in software?

0 Answers  


Why declare Main() method as a static in java ?

0 Answers   HCL,


What does microservices mean?

0 Answers  


Is string pool garbage collected?

0 Answers  


What is an Exception ?

9 Answers  


What are static methods?

0 Answers  


Categories