Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of methods are there?

1124


what is thread? : Java thread

1042


Why is java so popular?

1174


How can we create a synchronized collection from given collection?

1130


how we can make a write-only class in java?

1082


What is passing parameters in java?

1101


How do you sort in java?

1039


How transient variable is different from volatile variable?

1137


What does singleton class mean?

1033


How do you sort arrays in java?

990


Define nashorn in java8.

1093


Can java list contain duplicates?

1074


What is callablestatement? How you can call stored procedure to pass in parameter?

1068


What is the difference between stringbuffer and stringbuilder class?

1163


Is this valid in java ? Can we instantiate interface in java?

1027