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



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

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

More Core Java Interview Questions

What are null interfaces? Give some examples?

2 Answers  


What does || mean in vectors?

0 Answers  


What is the method overriding?

0 Answers  


why should we get the following error ? Exception in main method NoClassDefFoundError:classname could anyone give the detail clarification on how java compiler can look for .class file?

2 Answers  


What is the use of static class?

0 Answers  


Explain the difference between abstract class and interface in java?

0 Answers  


What is public/private protected in java?

0 Answers  


How can we find the actual size of an object on the heap?

0 Answers  


Can you use this() and super() both in a constructor?

0 Answers  


Describe what happens when an object is created in java ?

0 Answers  


What are pass by reference and pass by value?

0 Answers  


Can we restart a dead thread in java?

0 Answers  


Categories