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 is the difference between Static and final?

1 Answers  


what is object-oriented programming in java?

0 Answers   Reliance,


What are wrapper classes?

11 Answers   Noah Solutions,


I was asked to draw the class diagram for the below scenario which should obey OOPS concept. A Portal is to be developed for a school , which has 3 main divisions viz , Education , Admin & Trust. Each division has 2 sub divisions Kinder Garden & Higer Secondary.

3 Answers   Amtek, Huawei,


What is string :: npos?

0 Answers  






What is difference between checked and unchecked exception in java?

0 Answers  


What is final int?

0 Answers  


Can a method be overloaded based on different return type but same argument type?

0 Answers  


What is ternary operator in java?

0 Answers  


What is the difference between pageContext and page implicit objects in jsp?

9 Answers   Gspann Technologies, Merrill Lynch, Polaris,


Which data type is a class in java?

0 Answers  


what are literals in java?

2 Answers  


Categories