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

What is the console in java?

1096


Why java does not support pointers?

979


What is local class in java?

1026


What is unsigned char?

1013


What are constants and how to create constants in java?

938


What does exp mean in math?

939


Difference between arraylist and vector.

1058


What are the rules for naming an array?

991


How java uses the string and stringbuffer classes?

1003


Difference between process and thread?

990


What is classes in java?

885


What does string [] args mean?

955


Can we have any code between try and catch blocks?

931


What is meant by attribute?

1036


Is there a jre for java 11?

1010