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

hoe can u call a constructor of a private classs to other
inherited claa??

Answer Posted / ditendra

class can't be private if it is not a inner class .
we can call constructor of inherited class from private
inner class using super()method.

Is This Answer Correct ?    18 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you bind variables?

1115


How do you trim a space in java?

993


What is difference between stringbuffer and string?

969


Should a main method be compulsorily declared in all java classes?

1077


What is lossy conversion in java?

1218


What is the difference between call by reference and call by pointer?

978


A person says that he compiled a java class successfully without even having a main method in it? Is it possible?

1068


What does a za z0 9 mean?

1111


Explain the difference between the public, private, final, protected, and default modifiers?

1054


Write a function to find out longest palindrome in a given string?

1064


What is boolean used for?

1051


Is string a class?

1044


Is vector ordered in java?

1006


What is class level lock ?

1040


How do you sort in java?

998